Search Issue Tracker
By Design
In Progress in 2023.1.X
Under Consideration for 2023.2.X
Votes
0
Found in
2023.1.0a6
2023.2.0a1
Issue ID
UUM-1586
Regression
No
PersistentManager missing file assertions thrown on IL2CPP debug build when loading an AssetBundle
How to reproduce:
1. Build the Linux Editor and LinuxPlayerIL2CPP (debug) from source
[or the Mac Editor and MacPlayerIL2CPPNoDevelopment]
2. Open the user attached project (1162928-HB-PersistentAsset.zip)
3. Build and run the project with development and scripting debugging options enabled
4. Observe the messages in the player's log window
Expected result: the build runs without errors and the player's error log window doesn't show up
Actual result: "PersistentManager" errors are thrown in the player's error log window
Reproducible with: 2021.2.14f1, 2022.2.0a6, trunk (2023.2)
Reproducible on: Ubuntu 20.04
Reproducible on: macOS
Not reproducible on: Windows 10
Notes:
1. The issue is not present when building on Editors downloaded from the Unity Hub and QA Multitool
2. "C++ compiler configuration" in the "Player settings" has to be set to "Release" otherwise the issue doesn't reproduce and the player crashes on launch
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
- "Browse" button for Xcode in the "Build Profiles" window is too big
- USS styles fail to inherit correctly when contentContainer is overridden in a custom control
- Copying and pasting Animator Transitions leads to unexpected behaviour
- "ShaderGraph" misses a space in the "Project Settings" section
- UI Builder inspector’s checkbox fields can be activated when clicking anywhere in the value field
Resolution Note:
The animation assetbundle in the project is missing a dependent assetbundle that has serialized file CAB-152c02fff156463da8c5150602bca1c5 and which is not part of the provided project. That animation AssetBundle is not built based on the provided project and not listed in the StreamingAssets.manifest file so the name of the missing AssetBundle is unknown, but hopefully can be determined with a more complete project. The Assert is only in developer player builds by design, but we will look for opportunities to put more clear error messages that are not so low level.