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

Opening project with addressable + sceneReference package for first time can lead to init race condition #65

Closed
Ale1 opened this issue Aug 10, 2023 · 4 comments · Fixed by #87
Assignees
Labels
bug Something isn't working

Comments

@Ale1
Copy link
Contributor

Ale1 commented Aug 10, 2023

Screenshot 2023-08-10 at 10 18 16

To replicate:

(1) check that you have addressable package installed and enabled in your project.
(2) close project and delete Library folder to simulate fresh install
(3) Errors above will show up, caused bye Addressable Settings being null on startup.

@Ale1
Copy link
Contributor Author

Ale1 commented Aug 10, 2023

See #66 for possible work-around.

@Selmar
Copy link

Selmar commented Nov 10, 2023

Does this cause any real problems, or is it necessary to do something to fix an issue that results from this (i.e. closing & reopening the editor)? On build machines this may be important

@starikcetin
Copy link
Owner

Does this cause any real problems, or is it necessary to do something to fix an issue that results from this (i.e. closing & reopening the editor)? On build machines this may be important

No real issues as far as I know, it is just an annoyance. The problem stems from within the addressables package. It doesn't seem to be able to load its own settings file in time for us to use at editor startup.

This is a tricky issue to work around because even Unity's documentation seems to be wrong (or at least inconsistent) about this behavior.

If you encounter any critical bugs regarding this issue, please report them back.

@starikcetin
Copy link
Owner

Fixed in #87.
Included in 3.2.1.

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
3 participants