fix: Avoid dependency conflicts from bundled metadata DLLs#1288
Open
hatayama wants to merge 4 commits into
Open
fix: Avoid dependency conflicts from bundled metadata DLLs#1288hatayama wants to merge 4 commits into
hatayama wants to merge 4 commits into
Conversation
Keep bundled CodeAnalysis dependencies explicit-only so consuming Unity projects do not receive uLoop's System.Runtime.CompilerServices.Unsafe.dll through implicit plugin references.
Contributor
📝 WalkthroughWalkthroughAdds test-only constants for Unity dependency ChangesPackage metadata tests
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Move the bundled System.* metadata validation assemblies under the owning editor assembly with uLoop-specific file names, so consumer asmdefs that reference System.Runtime.CompilerServices.Unsafe.dll resolve their own package dependency instead of uLoop's private copy.
Rename the bundled metadata validation dependency assembly identities to match their uLoop-specific DLL names, so Unity and Burst do not resolve them as System.* assemblies while consumer packages keep using their own dependencies.
Delete the empty package Plugins folder metadata left after moving the metadata validation DLLs, and add package metadata coverage so clean Unity imports do not recreate an empty folder or warn about the orphan.
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
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.
Summary
User Impact
Changes
Verification
Closes #1284