Search Issue Tracker

Fixed in 2019.3

Fixed in 2018.4, 2019.1, 2019.2



Found in


Issue ID




Windows Standalone builds with IL2CPP scripting backend don't start on Windows 7



Workaround. Open "<UNITY_INSTALL_DIR>\Editor\Data\il2cpp\libil2cpp\os\Win32\File.cpp" and apply this diff:

diff --git a/libil2cpp/os/Win32/File.cpp b/libil2cpp/os/Win32/File.cpp
index 3d7f48279..1b928f663 100644
--- a/libil2cpp/os/Win32/File.cpp
+++ b/libil2cpp/os/Win32/File.cpp
@@ -503,7 +503,11 @@ namespace os
success = TRUE;
// The async write succeeded. Now get the number of bytes written.
+ if (GetOverlappedResult((HANDLE)handle, &overlapped, (LPDWORD)&written, TRUE) == 0)
if (GetOverlappedResultEx((HANDLE)handle, &overlapped, (LPDWORD)&written, INFINITE, FALSE) == 0)
// Oops, we could not get the number of bytes writen, so return an error.
*error = GetLastError();

See for more information.

Reproduced in 2019.3.0a8, 2019.2.0b8, 2019.1.8f1 and 2018.4.3f1.
Not reproducible in 2019.3.0a7, 2019.2.0b7, 2019.1.7f1 and 2018.4.2f1.

Comments (1)

  1. D0a6f3677b502b95a1fe547d33cfb938?d=mm


    Jul 02, 2019 09:38

    I have read the article you have shared here about WINDOWS standalone builds with IL2CPP scripting backend don't start on WINDOWS 7. I don't have much idea about this topic. Anyway, thanks for sharing. It may be useful for those who are interested in this area. <a href="">Tour Orsay</a>

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.