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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
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.