I tried to build my game with il2cpp, it did but i can’t open it when i open it crash immediately. No script problem because even if i create new project and built with il2cpp it doing same thing. Mono & WebGL compiling works well btw.
Can you access a call stack when the crash happens? Note that WebGL uses IL2CPP as well, so this may be something specific to the Windows Standalone player/IL2CPP combination.
To help debug this, you can use the “Create Visual Studio Solution” option in the Build Settings window when you build the player. When that is complete, open the Visual Studio Solution in the build output directory, choose the “Debug” configuration, and build and run. That should compile the code and attach the Visual Studio native debugger, which might help indicate where the crash happens.
can someone help me ?
If you get a NullReferenceException, as mentioned in that other thread, then try to enable Script Debugging in the Build Settings dialog. Then you can attach a debugger to step through the C# script code.
See Unity - Manual: Debug C# code in Unity for more details.
sorry it’s because i didn’t install unity.platforms.*