• Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

Windows Asset compiler Issue

E

Enagic

Guest
Hey there! Today I was working on my project and, in one of many runs, this poped up:



It literally came out of nowhere. No major change on the project, just in-between some runs this started to happen and haven't stopped since.
I've tried cleaning the cache, running in debug mode, reinstalling, rebooting the PC, copy-pasting the project, but nothing. It happens in almost every project I have, except for a really small one.

So, as information, this happens when the project is compiling, and stops always in the same line:
"Reading config delta 'C:\Users\Vicente\Documents\GameMakerStudio2\Project\options\main\inherited\options_main.inherited.yy' "
And I have that file! Everything looks perfectly fine, but it can compile now.

Any help is appreciated. Salutes!
 

Nocturne

Friendly Tyrant
Forum Staff
Admin
Moderator
Please file a bug report (in GMS goto Help > Report a Bug). Include a copy of the compiler output and link to a copy of a project that has the issue (export the project from GMS as a YYZ file: File > Export).
 
E

Enagic

Guest
Please file a bug report (in GMS goto Help > Report a Bug). Include a copy of the compiler output and link to a copy of a project that has the issue (export the project from GMS as a YYZ file: File > Export).
Done! Thanks for the response :)
 
I

izark

Guest
The only time I got that error on GM1.4 was when I ran out of space in the hard drive because of all temp files generated by the project
 
E

Enagic

Guest
The only time I got that error on GM1.4 was when I ran out of space in the hard drive because of all temp files generated by the project
I have like 600gb of free space, so I doubt that is the case here haha
thanks anyway!
 

Mike

nobody important
GMC Elder
Make sure you're on the latest runtime (you can download the latest one int the preferences), failing that you'll need to file a bug and include the project.
 

Mike

nobody important
GMC Elder
You'll need to file the bug and include the project - so we can debug it and find out whats happening.....
 

Mike

nobody important
GMC Elder
Okay.... then we definitely need you to file a bug with you log file as this doesn't happen to every one else.

I'd also go and delete your runtime and then download them again, in case they didn't come down correctly, because something is off on your machine or installation.
 

icuurd12b42

TMC Founder
GMC Elder
Since you cant delete the runtime that is "running" I simply uninstalled and re-installed studio 2

upload_2017-5-14_16-17-18.png

Still having the issue. I reported it. I cant find any log file on my system... There should be a menu in the help to get to those. maybe they are not where I looked
 

Mike

nobody important
GMC Elder
Not sure if the runtimes are deleted on an uninstall. Check the cache folder in program data... You can just delete this folder and it'll re-download
 

icuurd12b42

TMC Founder
GMC Elder
Yeah, well, again, I have no clue where that folder is...
....
....
man I hate all them folders all over the place.
....
obviously not looking at the right place...
...
Found it...
...
Deleting the cache...
...Running Studio... it's installing stuff in the intro page...

upload_2017-5-14_18-10-55.png

...
...
Nope same error. and oh, here's the log file... containg only the data that hold what happened when I hit Run
[18:14:14:897(d986)] Resume: Suspended = 0 for watcher 'C:\Users\Gilles\Documents\GameMakerStudio2\gridvsarr'
[18:14:14:899(d986)] Resume: Suspended = 0 for watcher 'C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.0.6.93\BaseProject'
[18:14:16:821(d986)] IDE: SaveProjectIncremental()
[18:14:16:822(d986)] Setting FolderWatcher 'C:\Users\Gilles\Documents\GameMakerStudio2\gridvsarr' to False
[18:14:16:822(d986)] Saving project to: C:\Users\Gilles\Documents\GameMakerStudio2\gridvsarr\gridvsarr.yyp
[18:14:16:823(d986)] Saving project at 'C:\Users\Gilles\Documents\GameMakerStudio2\gridvsarr\gridvsarr.yyp'
[18:14:16:823(d986)] Save project took 00:00:00
[18:14:16:824(d986)] Setting FolderWatcher 'C:\Users\Gilles\Documents\GameMakerStudio2\gridvsarr' to True
[18:14:16:865(d986)] starting C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.0.6.93/bin/Igor.exe -options="C:\Users\Gilles\AppData\Local\GameMakerStudio2\build.bff" -- Windows Run
[18:14:20:120(d986)] Suspend: Suspended = 1 for watcher 'C:\Users\Gilles\Documents\GameMakerStudio2\gridvsarr'
[18:14:20:125(d986)] Suspend: Suspended = 1 for watcher 'C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.0.6.93\BaseProject'
[18:14:23:451(d986)] Resume: Suspended = 0 for watcher 'C:\Users\Gilles\Documents\GameMakerStudio2\gridvsarr'
[18:14:23:451(d986)] Resume: Suspended = 0 for watcher 'C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.0.6.93\BaseProject'
[18:14:23:473(d986)] elapsed time 00:00:06.6069074s for command "C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.0.6.93/bin/Igor.exe" -options="C:\Users\Gilles\AppData\Local\GameMakerStudio2\build.bff" -- Windows Run started at 05/14/2017 18:14:16
[18:14:29:470(d986)] Suspend: Suspended = 1 for watcher 'C:\Users\Gilles\Documents\GameMakerStudio2\gridvsarr'
[18:14:29:474(d986)] Suspend: Suspended = 1 for watcher 'C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.0.6.93\BaseProject'

And here is the log that contains starting studio and loading the project, before I hit run
[18:17:44:100(734e)] ************************************** 05/14/2017 **************************************
[18:17:44:101(734e)] Log.Initialise
[18:17:44:102(734e)] OpenGLCheck : Original Version String is ""
[18:17:44:103(734e)] GameMakerStudio, Version=2.0.6.136, Culture=neutral, PublicKeyToken=83c29ed24e39e35e
[18:17:44:103(734e)] Initialise()
[18:17:44:179(734e)] Unable to load DLL 'CSteamworks': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
[18:17:44:183(734e)] File exception 'Could not find file 'C:\ProgramData\GameMakerStudio2\Cache\Survey\surveys_done.json'.'
[18:17:44:290(734e)] File exception 'Could not find file 'C:\ProgramData\GameMakerStudio2\Cache\Survey\survey_dismiss.json'.'
[18:17:44:336(734e)] File exception 'Could not find a part of the path 'C:\Program Files\GameMaker Studio 2\user_cache_directory\Styles'.'
[18:17:44:457(734e)] File exception 'Could not find file 'C:\ProgramData\GameMakerStudio2\org_settings.json'.'
[18:17:44:458(734e)] File exception 'Could not find file 'C:\ProgramData\GameMakerStudio2\machine_settings.json'.'
[18:17:45:694(734e)] Checking network....
[18:18:30:708(734e)] Checking network....Done
[18:18:30:744(734e)] Shader 'layer_add_blend_shader' loaded.
[18:18:30:745(734e)] Shader 'layer_normal_blend_shader' loaded.
[18:18:30:746(734e)] Shader 'layer_multiply_blend_shader' loaded.
[18:18:30:748(734e)] Shader 'layer_subtract_blend_shader' loaded.
[18:18:30:749(734e)] Shader 'standard_shader' loaded.
[18:18:30:749(734e)] Shader 'standard_flat_shader' loaded.
[18:18:32:83(734e)] CheckForUpdate : Skipping because internet is not available
[18:18:32:135(734e)] Creating temp directory C:\Users\Gilles\AppData\Local\GameMakerStudio2
[18:18:32:236(734e)] DoRSSDownload :: No Internet connection
[18:18:32:595(734e)] DnD: Installing gadgets from IDE
[18:18:32:819(734e)] Discarding document 532378ba-5f0a-4178-9fe8-005761acbcca.gml
[18:18:33:110(734e)] Could not load file or assembly '11183104 bytes loaded from IDE, Version=2.0.6.136, Culture=neutral, PublicKeyToken=83c29ed24e39e35e' or one of its dependencies. An attempt was made to load a program with an incorrect format.
[18:18:33:213(734e)] Could not load file or assembly '1917440 bytes loaded from IDE, Version=2.0.6.136, Culture=neutral, PublicKeyToken=83c29ed24e39e35e' or one of its dependencies. An attempt was made to load a program with an incorrect format.
[18:18:33:450(734e)] Could not load file or assembly '478720 bytes loaded from IDE, Version=2.0.6.136, Culture=neutral, PublicKeyToken=83c29ed24e39e35e' or one of its dependencies. An attempt was made to load a program with an incorrect format.
[18:18:34:310(734e)] Could not load file or assembly '2106216 bytes loaded from IDE, Version=2.0.6.136, Culture=neutral, PublicKeyToken=83c29ed24e39e35e' or one of its dependencies. An attempt was made to load a program with an incorrect format.
[18:18:34:361(734e)] Could not load file or assembly '4173928 bytes loaded from IDE, Version=2.0.6.136, Culture=neutral, PublicKeyToken=83c29ed24e39e35e' or one of its dependencies. An attempt was made to load a program with an incorrect format.
[18:18:34:397(734e)] Could not load file or assembly '13824 bytes loaded from IDE, Version=2.0.6.136, Culture=neutral, PublicKeyToken=83c29ed24e39e35e' or one of its dependencies. An attempt was made to load a program with an incorrect format.
[18:18:34:413(734e)] Could not load file or assembly '593408 bytes loaded from IDE, Version=2.0.6.136, Culture=neutral, PublicKeyToken=83c29ed24e39e35e' or one of its dependencies. An attempt was made to load a program with an incorrect format.
[18:18:34:432(734e)] API restriction: The assembly '' has already loaded from a different location. It cannot be loaded from a new location within the same appdomain.
[18:18:34:450(734e)] API restriction: The assembly '' has already loaded from a different location. It cannot be loaded from a new location within the same appdomain.
[18:18:34:541(734e)] Could not load file or assembly '69954560 bytes loaded from IDE, Version=2.0.6.136, Culture=neutral, PublicKeyToken=83c29ed24e39e35e' or one of its dependencies. An attempt was made to load a program with an incorrect format.
[18:18:34:585(734e)] Could not load file or assembly '87552 bytes loaded from IDE, Version=2.0.6.136, Culture=neutral, PublicKeyToken=83c29ed24e39e35e' or one of its dependencies. An attempt was made to load a program with an incorrect format.
[18:18:34:618(734e)] Could not load file or assembly '2445824 bytes loaded from IDE, Version=2.0.6.136, Culture=neutral, PublicKeyToken=83c29ed24e39e35e' or one of its dependencies. An attempt was made to load a program with an incorrect format.
[18:18:34:632(734e)] API restriction: The assembly '' has already loaded from a different location. It cannot be loaded from a new location within the same appdomain.
[18:18:34:650(734e)] Could not load file or assembly '417320 bytes loaded from IDE, Version=2.0.6.136, Culture=neutral, PublicKeyToken=83c29ed24e39e35e' or one of its dependencies. An attempt was made to load a program with an incorrect format.
[18:18:34:670(734e)] API restriction: The assembly '' has already loaded from a different location. It cannot be loaded from a new location within the same appdomain.
[18:18:34:680(734e)] API restriction: The assembly '' has already loaded from a different location. It cannot be loaded from a new location within the same appdomain.
[18:18:34:696(734e)] API restriction: The assembly '' has already loaded from a different location. It cannot be loaded from a new location within the same appdomain.
[18:18:34:768(734e)] File exception 'Could not find file 'C:\Users\Gilles\AppData\Roaming\GameMakerStudio2\gpage256_97\git_userpass_authentications.json'.'
[18:18:34:769(734e)] File exception 'Could not find file 'C:\Users\Gilles\AppData\Roaming\GameMakerStudio2\gpage256_97\git_ssh_authentications.json'.'
[18:18:34:881(734e)] Could not load file or assembly '117760 bytes loaded from IDE, Version=2.0.6.136, Culture=neutral, PublicKeyToken=83c29ed24e39e35e' or one of its dependencies. An attempt was made to load a program with an incorrect format.
[18:18:35:812(734e)] Assembly C:\Program Files\GameMaker Studio 2\TestPackage.dll not signed
[18:18:36:735(734e)] Assembly C:\Program Files\GameMaker Studio 2\TilesetGeneration.dll not signed
[18:18:36:744(734e)] API restriction: The assembly '' has already loaded from a different location. It cannot be loaded from a new location within the same appdomain.
[18:18:36:759(734e)] Could not load file or assembly '243200 bytes loaded from IDE, Version=2.0.6.136, Culture=neutral, PublicKeyToken=83c29ed24e39e35e' or one of its dependencies. An attempt was made to load a program with an incorrect format.
[18:18:36:819(734e)] API restriction: The assembly '' has already loaded from a different location. It cannot be loaded from a new location within the same appdomain.
[18:18:36:834(734e)] File exception 'Could not find file 'C:\Users\Gilles\AppData\Roaming\GameMakerStudio2\gpage256_97\input.json'.'
[18:18:36:835(734e)] Failed to load keyboard definitions file:C:\Users\Gilles\AppData\Roaming/GameMakerStudio2\gpage256_97\input.json
[18:18:36:857(734e)] File exception 'Could not find file 'C:\Users\Gilles\AppData\Roaming\GameMakerStudio2\gpage256_97\devices.json'.'
[18:18:36:858(734e)] Device Manager Load Failed: Could not find file 'C:\Users\Gilles\AppData\Roaming\GameMakerStudio2\gpage256_97\devices.json'.
[18:18:36:859(734e)] File exception 'Could not find file 'C:\Users\Gilles\AppData\Roaming\GameMakerStudio2\gpage256_97\workers.json'.'
[18:18:46:39(734e)] Reading help from zip file
[18:18:46:61(734e)] Start page carousel failed, no internet connection: User is offline
[18:18:46:62(734e)] File exception 'Could not find file 'C:\Users\Gilles\AppData\Roaming\GameMakerStudio2\gpage256_97\recent_tutorials'.'
[18:18:46:64(734e)] File exception 'Could not find a part of the path 'C:\Users\Gilles\AppData\Roaming\GameMakerStudio2\gpage256_97\Marketplace\Tutorials'.'
[18:18:46:69(734e)] File exception 'Could not find file 'C:\Users\Gilles\AppData\Roaming\GameMakerStudio2\gpage256_97\Marketplace\Demos.json'.'
[18:18:46:110(734e)] File exception 'Could not find file 'C:\Users\Gilles\AppData\Roaming\GameMakerStudio2\gpage256_97\git_userpass_authentications.json'.'
[18:18:46:111(734e)] File exception 'Could not find file 'C:\Users\Gilles\AppData\Roaming\GameMakerStudio2\gpage256_97\git_ssh_authentications.json'.'
[18:18:46:113(734e)] File exception 'Could not find file 'C:\Users\Gilles\AppData\Roaming\GameMakerStudio2\gpage256_97\git_userpass_authentications.json'.'
[18:18:46:114(734e)] File exception 'Could not find file 'C:\Users\Gilles\AppData\Roaming\GameMakerStudio2\gpage256_97\git_ssh_authentications.json'.'
[18:18:46:136(734e)] Failed to load demos file:${user_directory}\Marketplace\Demos.json
[18:18:49:53(734e)] ResourceManager resources have been cleared
[18:18:49:89(734e)] Setting ProjectFullFilePathMacro to 'C:\Users\Gilles\Documents\GameMakerStudio2\gridvsarr\gridvsarr.yyp'
[18:18:49:89(734e)] Setting ProjectDirMacro to 'C:\Users\Gilles\Documents\GameMakerStudio2\gridvsarr'
[18:18:49:90(734e)] Setting ProjectNameMacro to 'gridvsarr'
[18:18:49:137(734e)] Loading project layout from: C:\Users\Gilles\AppData\Roaming/GameMakerStudio2\gpage256_97\Layouts\gridvsarr\gridvsarr\96f852ba-ddb6-4781-be13-bb61b300f091.xml
[18:18:49:377(734e)] Caught exception for gadget of type 'window' and style 'window'- Error: An anchor or dimension has been set to percentage with no parent gadget, try using pixel instead
[18:18:49:450(734e)] Caught exception for gadget of type 'window' and style 'window'- Error: An anchor or dimension has been set to percentage with no parent gadget, try using pixel instead
[18:18:49:492(734e)] Caught exception for gadget of type 'window' and style 'window'- Error: An anchor or dimension has been set to percentage with no parent gadget, try using pixel instead
[18:18:49:537(734e)] Caught exception for gadget of type 'window' and style 'window'- Error: An anchor or dimension has been set to percentage with no parent gadget, try using pixel instead
[18:18:49:564(734e)] Caught exception for gadget of type 'window' and style 'window'- Error: An anchor or dimension has been set to percentage with no parent gadget, try using pixel instead
[18:18:49:601(734e)] Caught exception for gadget of type 'window' and style 'window'- Error: An anchor or dimension has been set to percentage with no parent gadget, try using pixel instead
[18:18:50:83(734e)] Caught exception for gadget of type 'window' and style 'layer_view_window'- Error: An anchor or dimension has been set to percentage with no parent gadget, try using pixel instead
[18:18:50:92(734e)] Caught exception for gadget of type 'window' and style 'layer_properties_window'- Error: An anchor or dimension has been set to percentage with no parent gadget, try using pixel instead
[18:18:50:100(734e)] Caught exception for gadget of type 'window' and style 'room_properties_window'- Error: An anchor or dimension has been set to percentage with no parent gadget, try using pixel instead
[18:18:50:189(734e)] Loading project 'C:\Users\Gilles\Documents\GameMakerStudio2\gridvsarr\gridvsarr.yyp'
[18:18:50:344(734e)] Creating FolderWatcher at 'C:\Users\Gilles\Documents\GameMakerStudio2\gridvsarr'
[18:18:50:739(734e)] Creating FolderWatcher at 'C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.0.6.93\BaseProject'
[18:18:50:828(734e)] Load project took 00:00:00.6382907
[18:18:51:231(734e)] IDE: SaveProjectIncremental()
[18:18:51:232(734e)] Setting FolderWatcher 'C:\Users\Gilles\Documents\GameMakerStudio2\gridvsarr' to False
[18:18:51:235(734e)] Saving project to: C:\Users\Gilles\Documents\GameMakerStudio2\gridvsarr\gridvsarr.yyp
[18:18:51:238(734e)] Saving project at 'C:\Users\Gilles\Documents\GameMakerStudio2\gridvsarr\gridvsarr.yyp'
[18:18:51:249(734e)] Save project took 00:00:00.0090016
[18:18:51:250(734e)] Setting FolderWatcher 'C:\Users\Gilles\Documents\GameMakerStudio2\gridvsarr' to True
[18:18:55:638(734e)] Suspend: Suspended = 1 for watcher 'C:\Users\Gilles\Documents\GameMakerStudio2\gridvsarr'
[18:18:55:643(734e)] Suspend: Suspended = 1 for watcher 'C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.0.6.93\BaseProject'
 

Mike

nobody important
GMC Elder
Can you post the file "C:\Users\Gilles\AppData\Local\GameMakerStudio2\build.bff" (you can see this file listed in the compiler output above). This changes each build, so do a build then copy/paste this in if you can.
 

rwkay

YoYo Games Staff
YYG Staff
@icuurd12b42 - From the look of the call stack that we are seeing on KeyNotFoundExceptions it would indicate that the path to the vcvars32.bat file is not set up correctly for YYC, can I confirm

a) You are compiling for Windows YYC???
b) You have selected the vcvars32.bat correctly in the File -> Preferences -> Platform Settings -> Windows -> Visual Studio Path (this has changed on this version and we thought we had plugged all the routes to setting this incorrectly but we may have missed something).

Russell
 

icuurd12b42

TMC Founder
GMC Elder
Can you post the file "C:\Users\Gilles\AppData\Local\GameMakerStudio2\build.bff" (you can see this file listed in the compiler output above). This changes each build, so do a build then copy/paste this in if you can.
Can't, there is no GameMakerStudio2 folder in the AppData\Local folder

upload_2017-5-15_5-24-36.png

@icuurd12b42 - From the look of the call stack that we are seeing on KeyNotFoundExceptions it would indicate that the path to the vcvars32.bat file is not set up correctly for YYC, can I confirm

a) You are compiling for Windows YYC???
b) You have selected the vcvars32.bat correctly in the File -> Preferences -> Platform Settings -> Windows -> Visual Studio Path (this has changed on this version and we thought we had plugged all the routes to setting this incorrectly but we may have missed something).

Russell
Hmm. It's pointing to a folder where said batch file is not present
upload_2017-5-15_5-30-12.png
 
Y

Yazuka

Guest
If you hit the Restore Defaults button it should give you the correct path to the vcvars32.bat file, although you'll need to change the drive letter to E I'd assume. Your bug is that you're missing the path to the vcvars32.bat file and we don't handle that so I've added it to Mantis to get fixed as can be seen here - http://bugs.yoyogames.com/view.php?id=26512
 
Top