Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2021.2.X
Votes
0
Found in
2020.1.17f1
2020.2.0a12
2020.3
2021.1
2021.2
Issue ID
1336618
Regression
Yes
Managed Assembly load failure
How to reproduce:
1. Open the attached "after.zip" project
2. Open the Console Window
Expected result: No errors appear
Actual result: "Loading assembly failed" error appears
Reproducible in: 2020.2.0a12, 2020.3.11f1, 2021.1.11f1, 2021.2.0a21
Not reproducible in: 2018.4.36f1, 2019.4.28f1, 2020.2.0a11
Full errors:
Loading assembly failed: "Assets/MyScript.dll" reason: File does not contain a valid CIL image
Could not load image E:\Files\case_1336618-after\Assets\MyScript.dll due to Invalid Section Aligmnent 1000
Run the peverify utility against this for more information.
Notes:
- Running the peverify utility from the Visual Studio command prompt returns a valid assembly message
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 (fix version 2022.1):
Fixed in: 2022.1.0a2