generated from JustSleightly/VPM-Package-Template
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"VRCFury Support" Allowing the MemoryOptimizer to be used as Component. #24
Open
PenguiniVogel
wants to merge
16
commits into
JeTeeS:main
Choose a base branch
from
PenguiniVogel:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- constants are now all together in one file - some functions have moved to be available everywhere - component now lists issues it may have such as compability with UnlimitedParameters Fix: - if system was already installed, it was not checked during build - parameters and fx layer are now copied on the uploading clone to avoid breaking assets - comparison checks now use pre-calculated hash codes to be faster and many more things i can't remember / don't wanna list.
Mention-worthy: - MemoryOptimizer-EditorWindow will attempt to connect to a component if present on the selected avatar - MemoryOptimizer-EditorWindow cannot be opened more than once now since component editing is active-instance based. - a bunch of performance fixes in certain areas - MemoryOptimizerComponent no longer loads duplicates of VRCFury-Components
… we have to re-adjust the count to optimize
- added proper validation for the pipeline since we unhook VRCFury. - optimized the lookup speed in the component by using a dictionary to check. - parameters can be saved as orphans in the event they lose their original link, and will automatically be re-linked, can also be cleared in the settings tab. - GeneratedAssets now get written in the Temp/ directory of the Packages instead of the Assets/, as people tend to dislike clutter in their Assets/
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What was added:
A new Component "MemoryOptimizerComponent"
This component gets placed on the same object where the
VRCAvatarDescriptor
exists, and only one can exist at a time on each Avatar.The component resolves the parameters on the Avatar and tries to resolve VRCFury ones as well (using reflection magic).
Currently supported are:
You can configure the component using the same EditorWindow you use when installing the system, but here comes the major difference (and advantage imo) to using the MemoryOptimizer as component:
The component gets resolved during the build process of the Avatar and installs the MemoryOptimizer into the uploading clone in a non-destructive manner, none of the original files get edited.
If more information is required, or there is open questions, feel free to ask here or on Discord.