Search Issue Tracker
By Design
Votes
1
Found in
2020.3
2020.3.3f1
2021.1
2021.2
2022.1
Issue ID
1359100
Regression
No
[IL2CPP] Animations are not played when they are loaded with the Asset Bundle
How to reproduce:
1. Open the attached "1359100.zip" project
2. Build and run on an Android device
Expected results: After the Scene switch the white strip changes between white and red
Actual results: After the Scene switch the white strip stays white
Reproducible with: 2020.3.17f1, 2021.1.19f1, 2021.2.0b9, 2022.1.0a6
Could not test with: 2019.4.30f1 and earlier because the "Failed to decompress data for the AssetBundle 'Memory'." error and having black screen on the second Scene
Reproduced with:
VLNQA00286, Meizu Pro 5 (PRO 5), Android 7.0, CPU: Exynos 7 Octa 7420, GPU: Mali-T760
VLNQA00313, Huawei Y6 Ⅱ Compact (HUAWEI LYO-L01), Android 5.1, CPU: MediaTek MT6735, GPU: Mali-T720
VLNQA00294, Oppo OPPO Reno Z (PCDM10), Android 11, CPU: NOT FOUND, GPU: PowerVR Rogue GM9446
VLNQA00335, Samsung Galaxy S20+ 5G (SM-G986B), Android 10, CPU: Exynos 990, GPU: Mali-G77
Note:
- The issue is not reproducible when using Mono Scripting Backend
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
- Memory Profiler styling breaks when the SummaryView.uxml file is opened in UI Builder
- A "projectChanged" event is not triggered when Sprites are added to a SpriteAtlas
- A Memory leak occurs when the "JsonSerialization.FromJson" function is executed
- “ArgumentException: SetData()“ error when making a character with PSDImporter under specific conditions
- Shader warnings are thrown after building High Definition 3D template
Resolution Note:
Mono Backend's Managed Stripping Level is Disabled by default. IL2CPP does not have a disabled option and is Minimal by default. Types in use in asset bundles need to be specified to the player build pipeline via a Link.xml file or the assetBundleManifestPath parameter of the BuildPlayerOptions in order for the necessary runtime data to not be stripped from the player build. https://docs.unity3d.com/ScriptReference/BuildPlayerOptions-assetBundleManifestPath.html
This is all managed for you if you use the Addressables package to build and manage your asset bundles.