Skip to content

Adds support for separate folder locations for each platform#706

Open
Toys0125 wants to merge 8 commits intoBasisVR:developerfrom
Toys0125:Platform-Aware-Cache
Open

Adds support for separate folder locations for each platform#706
Toys0125 wants to merge 8 commits intoBasisVR:developerfrom
Toys0125:Platform-Aware-Cache

Conversation

@Toys0125
Copy link
Copy Markdown
Contributor

@Toys0125 Toys0125 commented Mar 31, 2026

Doing this reduces the startup churn time, and we still support legacy cache files.

Additional changes to saved avatar data, AKA LastUsedAvatar.BAS to add the cache file that was used to reduce time it takes to load avatar from cache, and skips the cache warmup for loading your own avatar.

Considerations

  • We have full legacy support, and shouldn't have issues with files being placed into correct locations as we need full folder access to read and write files.
  • If we read a legacy file we leave it as is.
  • Legacy Lastused avatar is also fully supported until the user saves a new avatar.

Improvements

  • Remove wasteful lazyload as it just read through the files the same as out async task does but locks the game until it finds the one it was looking for.
  • Using the direct file reference for the LastUsedAvatar

Fixes

  • Fixed the cache load stats breaking on legacy cache files.

@dooly123
Copy link
Copy Markdown
Collaborator

after the next lts release we will merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants