Search Issue Tracker
By Design
Votes
0
Found in [Package]
1.16.15
Issue ID
ADDR-1685
Regression
No
Addressables unloads Assets prematurely when using Standalone Player
Reproduction steps:
1. Open user attached Project
2. Press Window -> Asset Management -> Addressables -> Groups
3. Press Build -> New Build -> Default Build Script
4. Build and Run the Game
Expected result: The Cat and "Loading" text are unloaded at the same time like in the Editor
Actual result: The Cat is unloaded before the "Loading" text
Reproducible with: 1.13.1 (2019.4.17f1), 1.14.2 (2020.1.17f1), 1.15.1 (2020.2.1f1), 1.16.15 (2021.1.0b1)
Could not test with: 2018.4 (Compiler errors)
Comments (1)
-
Peter77
Dec 29, 2020 11:48
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
- [VFX Graph] ArcCone Direction computation is wrong in Base Mode
- [Android] [Galaxy Tab] A singular Pen touch logs a Pen touch event and a singular finger touch event when logged using "VisualElement.RegisterCallback" with "Pointer(Up/Down)Event"
- Crash on D3D12DescriptorCache::Deallocate or vkGetInstanceProcAddr when loading RenderDoc in a specific Scene
- [HDRP] Lit material preview is rendered incorrectly with a mask map
- The "LerpWhiteTo" missing function displays an error when the Shadows.hlsl shader is included in a Shader file
Resolution Note:
When loading an Addressable Scene, all the dependencies of GameObjects in the scene are accessed through AssetBundles loaded during the Scene load operation. Marking a GameObject in an Addressable loaded scene as DontDestroyOnLoad unloads the dependencies of the GameObject.
A solution is to make the GameObject a single Addressable prefab. Instantiate the prefab when needed and then mark it as DontDestroyOnLoad.