-
Notifications
You must be signed in to change notification settings - Fork 217
Fix standalone library compilation #71
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
Open
Lordfirespeed
wants to merge
10
commits into
TeamSirenix:standalone-library
Choose a base branch
from
Lordfirespeed:fix-standalone-library
base: standalone-library
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.
Open
Fix standalone library compilation #71
Lordfirespeed
wants to merge
10
commits into
TeamSirenix:standalone-library
from
Lordfirespeed:fix-standalone-library
Conversation
This file contains hidden or 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
…enerator's ability to filter away editor-only types from the scanned list.
…voked even though the object is null which led to a NullReferenceException.
…h IL2CPP for iOS or Android, this issue would cause deserialization errors saying. `Error: Reached end of array after X elements, when Y elements were expected.` when using the binary data format. On the surface, the error was due to bad serialization of 8-byte (long/ulong) values resulting in random values occupying the higher four bytes of the value in the serialized data. The ultimate cause after a long period of investigation ended up being an apparent newly introduced compiler error in IL2CPP when translating assemblies to C++, related to inlining of methods that use unsafe code; adding a flag to disable inlining for all binary writer methods that write values larger than 4 bytes resolves the issue.
…not allowed to be called during serialization" and possibly other similar exceptions would be logged during an AOT support scan. Processing and filtering of all registered types for AOT support is now delayed to the end of the scan where the Unity API is legal to use, rather than performed immediately as they are registered.
…ssue would cause some data serialized on iOS using xcode 15 and above to become corrupt; specifically, this issue affected binary serialization of 64 and 128 bit primitive values (long, ulong, double, guid, decimal). In the end, the method of how the data is written to the data buffer was changed entirely in a way that didn't trigger the new xcode compiler bug that caused faulty inlining that would corrupt the memory of stack variables.
Replacing InvariantCulture string equality checks (and a few calls to StartsWith) with Ordinal comparer.
…n addressables due to the PlayerDataGroupSchema type having been removed from the Unity.Addressables module.
…enerator's ability to filter away editor-only types from the scanned list. (cherry picked from commit 305dedd)
…brary # Conflicts: # OdinSerializer/Unity Integration/SerializedUnityObjects/SerializedBehaviour.cs # OdinSerializer/Unity Integration/SerializedUnityObjects/SerializedComponent.cs # OdinSerializer/Unity Integration/SerializedUnityObjects/SerializedMonoBehaviour.cs # OdinSerializer/Unity Integration/SerializedUnityObjects/SerializedScriptableObject.cs # OdinSerializer/Unity Integration/SerializedUnityObjects/SerializedStateMachineBehaviour.cs # OdinSerializer/Unity Integration/SerializedUnityObjects/SerializedUnityObject.cs
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.
.NET Core standalone library compilation was failing due to missing conditional compilation directives.
Also merged
masterbranch.