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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
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.