Search Issue Tracker
By Design
Votes
0
Found in
2021.3.29f1
Issue ID
UUM-54210
Regression
No
Build fails and an error "BadImageFormatException: Format of the executable (.exe) or library (.dll) is invalid." can be seen when building a project on a macOS M2 device
Reproduction steps:
1. Open the attached "PROJECTFILE" project
2. Build And Run the project (File > Build And Run)
Expected result: Build is completed successfully without any errors
Actual result: Build fails and an error “BadImageFormatException: Format of the executable (.exe) or library (.dll) is invalid.” can be seen
Reproducible with: 2021.3.29f1
Reproducible on: macOS 13.5 (M2)
Not reproducible on: macOS Ventura 13.6 (M1 Max)
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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note:
Cannot reproduce the issue using Unity 2021.3.31