StressLevelZero / MarrowSDK-Legacy

MIT License
288 stars 39 forks source link

Random error when trying to pack #72

Closed browhattheheck1 closed 1 year ago

browhattheheck1 commented 1 year ago

I'm randomly getting this error in the marrow project validation saying that "addressable settings need fixing". Normally you can just hit fix on stuff in there, but hitting fix on this doesn't do anything but create this error in the console, "NullReferenceException: Object reference not set to an instance of an object SLZ.MarrowEditor.AddressablesManager.SetupModSettings () (at Library/PackageCache/com.stresslevelzero.marrow.sdk@b8cfc6f061/SLZ.Marrow.SDK.Editor/SLZ.MarrowEditor/AddressablesManager.cs:90)".

Important to note it was not doing this in this exact same project just an hour ago, and I've changed nothing except lighting in my level. So far I've tried restarting unity, and uninstalling/reinstalling the marrow SDK and neither have fixed it

Greased-Scotsman commented 1 year ago

Do you have only one Pallet that you have created in your project? If you are using the Bonelab Spawnable Pallet, it acts as a dependency and doesn't cause any issues, but if you have more than one Pallet that you've generated in a single Unity project, you may run into issues.

Otherwise, the Validate Project Settings option in the SLZ -> Void Tools menu should resolve addressable settings issues.

browhattheheck1 commented 1 year ago

That could be it, I don't have more than one currently in the project but I have used other pallets previously in this same project. Thank you!