Search Issue Tracker
Fixed
Votes
0
Found in
2017.3.0a1
2017.4.10f1
2018.3.0a1
2019.1.0a1
Issue ID
1104308
Regression
No
[.NET] Crash due to corrupted sharedAssets file when loading a scene from WSA Asset Bundle
How to reproduce:
1. Open the attached "WSACrash.zip" project
2. Open the "AssetBundleCrash" scene
3. In the Build Settings, make sure that Scripting Backend for UWP Target Platform is set to .NET
4. In the menu bar, select "Metamono/Asset Bundles/Build"
5. Enter the Play mode
-- Editor crash
Reproducible with - 2017.3.0a1, 2017.4.18f1, 2018.3.1f1, 2019.1.0a2
Not reproducible with - 2019.1.0a6, 2019.1.0a13
Error from the logs:
"Cancelling DisplayDialog because it was run from a thread that is not the main thread: Fatal Error! The file 'archive:/fileName.sharedAssets' is corrupted! Remove it and launch unity again! [Position out of bounds!]"
Note: The issue does not occur, when the Scripting Backend for UWP Target Platform is set to IL2CPP. This is why the issue is no longer reproducible on the latest versions of 2019.1.
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
- [Mobile] Developer Console does not appear when an error is thrown
- [HDRP] Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
- The Game view becomes blank when using Frame Debugger with MSAA and Texture binding enabled in Play Mode
- NullReferenceException is thrown when changing the Inspector preview selection
Resolution Note:
This defect was resolved via the deprecation of .NET as a scripting backend choice in 2018.3 going forward. It's our suggestion that anyone that is still using this feature switch to IL2CPP to prevent future issues.