Hi,
I can’t package the game for deploy, I attached the log file .
It seems to be a Critical error:
Fatal error: [File:D:\BuildFarm\buildmachine_++UE4+Release-4.11\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp] [Line: 83]
SECURE CRT: Invalid parameter detected.
Expression: Unknown Function: Unknown. File: Unknown Line: 0
I am really disappointed I worked so hard and just can’t publish the project, how can I do this from visual studio or at least to where can I search to remove te problem recompile the engine etc a work around something.
Just last night, It seems I resolved the problem creating a blank code file and also deleted intermediate and saved folder from game project, then everything worked normal.
It seems the problem persists, today I created a new project and had the same problem, but once again did the steps above and it’s solved. It is obvious there is a problem on project compiler.
Unfortunately I have the same issue but deleting the saved & intermediate doesn’t seem to solve it. I might try and create a blank C++ file for a temp fix but is there any specific way you are doing this? Through the editor or through VS?
I deleted the saved and intermediate from windows explorer, bu first I made the c++ file then recompiled the project from VS. But for next project it does not work, it seems there is still something happening.
Hello everyone, I apologize for the delay but I would like to attempt to get to the bottom of the issue. Is anyone still experiencing these problems? If so, does Ion’s fix below at least temporarily work for you? Also, just in case there have been any changes or in the event that there may be different errors occurring here, can each of you that are having this issue post your own logs from when it fails?
In your projects, are they blueprint only projects or do they also have code in them? Have you experienced this issue with any other projects? Was the project that this is occurring in converted from a previous version of the engine such as 4.10? As much information as you can give would be helpful.
Hi , It is ok just let’s try to solve this. The problem is still there, on last project I used only blueprints, and also Substance Materials from PBR substance pack. Files in dropbox the upload from forum seems to have problems, it says file is to small or no file.
Here is the output log and the log from cook:
That would be helpful. It would let me see the project settings you’re using and also allow me to see if the issue will reproduce on my machine. If you would need to keep it private for any reason you can feel free to provide the download link via a private message on our [forums][1].
Hi guys, it seem the problem is solved after it got in my mind to disable some plugins, So I disabled all that are beta alpha and also others that I don’t need for example android my app is windows only. And it seems that resolved the problem for this project and also for other projects I have. Don’t know yet maybe Mathew will find something more about this, but you can try to do my way until then :), maybe it will work for you to.
Thanks for this answer, I didn’t get a chance to work on getting my own project to build until today and tried this fix out. I have two plugins installed but I’m not using either much so I just disabled them both.
Builds now work perfectly!
The two plugins I turned off were Substance and Modo if anyone needs to know.
What plugin is it that is causing problems? Does the issue go away if the plugin is temporarily disabled? Did you use this plugin in this project prior to 4.11.2 and if so, did you get a newer version of the plugin to go along with the engine upgrade? I’m still in the process of trying to gather more information.
InstaLOD plugin. I’m in communication with the plugin developer as we try to diagnose/debug it. Yes, the problem only occurs when the plugin is enabled.
The plugin itself is build from source code (so goes along with 4.11.2) and uses a pre-build DLL file. The error only occurs in the Windows data cook - the Mac data cook succeeded.
I have been able to build a project that fails during cook.
This bug is actually unrelated to InstaLOD or its mesh reduction, and I guess this bug is the reason other plugins seem to crash during cook at random:
As soon as a module invokes printf or cout it crashes, no matter what type of string is sent to the standard io. It just crashes, even if it is the first line of code that is executed inside the module. And I am pretty sure this is the reason why other plugins like the substance plugin crashes for some users and not for others, because stdio output might vary based on what substance is being processed.
This is also the reason why it doesn’t crash on mac or linux, because only on windows the secure crt exists. There must be a bug within UE4 that only happens when running UE4 from the commandline.
UE4 is probably only using the secure CRT in certain cases, like when building for shipping via terminal and unfortunately the CRT is not setup correctly.
You can get more infos about InstaLOD at www.instaLOD.io . InstaLOD is a 3D optimization plugin and provides features to automatically optimize 3D models, generate LOD, perform draw call reductions and more.