Skip to content

Feature/updates for 200#117

Merged
brunomikoski merged 19 commits intomasterfrom
feature/updates-for-200
Apr 2, 2023
Merged

Feature/updates for 200#117
brunomikoski merged 19 commits intomasterfrom
feature/updates-for-200

Conversation

@brunomikoski
Copy link
Copy Markdown
Owner

@brunomikoski brunomikoski commented Apr 1, 2023

Changed

  • Fixed issue with name parser that would still treat digits as string and add it to the final name
  • Fixed issue with PropertyDrawer of indirect reference without attribute would cause a null reference
  • Refactored the system to use ScriptableObject as a base class instead of ScriptableObjectCollectionItem now any ScriptableObject can be used as a collection item as long as implements the ISCOItem interface
  • Fixed issue with CollectionItemPicker that would not work properly with ScriptableObject that is not in the same assembly as the ScriptableObjectCollection
  • Added new buttons on CollectionRegistry to force guid validation on all items
  • Reduced automatic collection guid reloading to reduce performance impact on larger projects
  • Fixed issues with target scripts generation folder not being saved properly
  • Minimum supported Unity version is now 2021 (I'm DONE with 2020, its the worst unity ever 😒)

Removed

  • Removed support for Addressables, it was not working properly and it was not being used by a lot of teams, I think the addressables support should be handled elsewhere.

Breaking Changes

  • If you used the Addressables integration SOC_ADDRESSABLES_SUPPORT be extra careful when upgrading
  • The old string based guid system has been replaced for a lighter version LongGuid
  • If you are using IndirectReferences all the references will be lost, you will need to re-set them

Upgrade Guide from 1.x.x to 2.x.x

  • Update the package
  • Make sure you click on the CollectionRegistry and click on the Validate Collections button
  • Regenerate all your Static Code Files

Comment thread CHANGELOG.MD Outdated
Comment thread Scripts/Editor/Core/CollectionItemIndirectReferencePropertyDrawer.cs Outdated
Comment thread Scripts/Editor/Core/ScriptableObjectCollectionSettings.cs Outdated
Comment thread Scripts/Editor/Utils/CodeGenerationUtility.cs Outdated
Comment thread Scripts/Editor/Utils/CodeGenerationUtility.cs
Comment thread Scripts/Runtime/Core/CollectionsRegistry.cs
Comment thread Scripts/Runtime/Core/CollectionsRegistry.cs
Comment thread Scripts/Runtime/Core/CollectionsRegistry.cs
Comment thread Scripts/Runtime/Core/LongGuid.cs
@brunomikoski brunomikoski merged commit 61ef012 into master Apr 2, 2023
@brunomikoski brunomikoski deleted the feature/updates-for-200 branch April 2, 2023 18:04
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