From 965b72806d708d76e82730d7cd656a615044b5c3 Mon Sep 17 00:00:00 2001 From: Katy Coe Date: Sat, 2 Nov 2019 16:37:34 +0100 Subject: [PATCH] PS: Add --forecerebuild flag when calling il2cpp.exe --- Il2CppTests/generate-binaries.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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