Search Issue Tracker
Won't Fix
Votes
2
Found in
2022.3.13f1
Issue ID
UUM-56062
Regression
Yes
[Addressables/WebGL] Unloading and reloading asset in the same frame causes NULL reference
Preproduction steps
# Open project
# Build for WebGL
# Open build and click the arrow button in the game view
Expected behavior: Browser opens with no errors
Actual behavior: Browser opens, and there are errors
Affected versions: 1.21.8
Notes:
* There are two videos attached, one of the editor, the other of the browser errors.
* Regression from the introduction of AssetBundle.UnloadAsync
This is caused by the async unloading of the Localization-Shared-Assets bundle. The bundle is unloaded at the start of the selected locale change, it then gets reloaded but itss still in the process of being unloaded which causes its asset (the tables shared table data) to be unloaded.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- ObjectPool's pool is destroyed when entering Play Mode without reloading Domain
- [Android] Permission window is not shown when using a Build App Bundle (Google Play) with Minify set to Release
- NullReferenceException errors appear in the Console and Inspector window turns black when dragging .cs and .uxml files to another directory
- Crash when reimporting fbx asset used as tree by specific Terrain component
- The position of the "X" in the search section is not consistent with other search boxes in the engine
Resolution Note:
Thank you for reporting a bug to Unity.
We have reviewed the issue carefully, and in this case, the team is unable to prioritize fixing this bug. There are a number of reasons we make this decision, including the impact and severity of the issue across our user and customer base, and the possibility that future plans may solve the problem in a different way, or that a workaround for the bug may be available.
Today we will be closing this case. Thank you again for taking the time to report this issue, and please let us know if there is anything else that changes the impact or severity of this issue.