diff --git a/Il2CppTests/generate-binaries.ps1 b/Il2CppTests/generate-binaries.ps1 index 4b807fb..71b1940 100644 --- a/Il2CppTests/generate-binaries.ps1 +++ b/Il2CppTests/generate-binaries.ps1 @@ -59,7 +59,7 @@ $bin = "$PSScriptRoot/TestBinaries" # We try to make the arguments as close as possible to a real Unity build # "--lump-runtime-library" was added to reduce the number of C++ files generated by UnityEngine (Unity 2019) $arg = '--convert-to-cpp', '--compile-cpp', '--libil2cpp-static', '--configuration=Release', ` - '--emit-null-checks', '--enable-array-bounds-check', ` + '--emit-null-checks', '--enable-array-bounds-check', '--forcerebuild', ` '--map-file-parser=$UnityPath\il2cpp\MapFileParser\MapFileParser.exe' # Prepare output folders