Skip to content
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

First time setup error workaround #16

Open
ashblue opened this issue Jan 20, 2024 · 2 comments
Open

First time setup error workaround #16

ashblue opened this issue Jan 20, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@ashblue
Copy link
Owner

ashblue commented Jan 20, 2024

The first time you setup an error may fire and fail to create the starting item definition (randomly fails on first time setup). You can use this library perfectly fine as is with the error (it will go away). If you still want the starting item script do the following.

  1. Delete "Assets/ElasticInventory/Resources/ItemDatabase.asset" file (leave the folders alone)
  2. Uninstall the package
  3. Install the package
  4. Run the setup wizard
  5. The starting script should now appear as expected

Alternatively you can just copy and paste this code here.

https://github.com/ashblue/unity-elastic-inventory/blob/develop/Assets/com.fluid.elastic-inventory/Editor/Scripts/ConfigWizard.cs#L56

I'll have to dig and patch this at a later date. It looks like the folders aren't getting detected by the setup wizard.

@ashblue ashblue added the bug Something isn't working label Feb 26, 2024
@ashblue
Copy link
Owner Author

ashblue commented Feb 26, 2024

This issue seems to have been fixed in Unity 2023. Need to verify that though.

@ashblue
Copy link
Owner Author

ashblue commented Aug 2, 2024

There appears to be an async failure issue with Unity's boot cycle that was introduced in 2022, looking into potential solutions. Will try a new fix on the next pass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant