Search Issue Tracker
Fixed in 2018.2.X
Fixed in 2017.1.X, 2017.2.X, 2017.3.X, 2018.1.X
Votes
2
Found in
Issue ID
956872
Regression
Yes
Facebook Platform support throws BadImageFormatException error and prevents building
Steps to reproduce:
1. New project
2. Switch platform to Facebook
3. Switch SDK to 7.10.1
4. Choose WebGL
5. Build and Run
6. Build and run again
Expected: Build will complete, no errors thrown
Actual: BadImageFormatException error is thrown, Build and Run can't complete
Reproduced with Unity 5.6.3p3, 2017.1.1p2, 2017.2.0f1, 2017.3.0b3
Tested with Branch: 2017.1/platform/facebook/integration but later reproduced on stable as well.
Error:
BadImageFormatException: Format of the executable (.exe) or library (.dll) is invalid.
Mono.Cecil.PE.ImageReader.ReadImage ()
Mono.Cecil.PE.ImageReader.ReadImage (Disposable`1 stream, System.String file_name)
Mono.Cecil.ModuleDefinition.ReadModule (Disposable`1 stream, System.String fileName, Mono.Cecil.ReaderParameters parameters)
Mono.Cecil.ModuleDefinition.ReadModule (System.String fileName, Mono.Cecil.ReaderParameters parameters)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
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
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
mulagraphics
Jan 30, 2018 04:22
I also have this problem ,how to solve it? Unity to xcode Ios build not working
zcwfeng
Jan 26, 2018 10:57
i also has the problem ,how to solve it? facebook sdk version plugin is too hight?