stride
stride copied to clipboard
fix: Stop failing to open project due to duplicate package references.
PR Details
I kept running into an issue with packages being referenced in an external project but with a different version making GameStudio completely fail to open. This just adds a check in the PackageSession to make sure to only load the newest version to avoid the reference collisions that were happening.
Cause of the issue:
New Warning message should be a lot clearer and allows the person to still open the project instead of blocking them:
Types of changes
- [ ] Docs change / refactoring / dependency upgrade
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist
- [ ] My change requires a change to the documentation.
- [ ] I have added tests to cover my changes.
- [ ] All new and existing tests passed.
- [x] I have built and run the editor to try this change out.