Search Issue Tracker
By Design
By Design in 2021.3.X
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
- EnterPlayModeOptions doesn't take effect if user manually modifies m_EnterPlayModeOptionsEnabled to 0
- VFX Graph Documentation dropdown button does nothing when clicked on the right side
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
Resolution Note:
Cannot reproduce the issue using Unity 2021.3.31
Resolution Note (2021.3.X):
Cannot reproduce the issue using Unity 2021.3.31