• 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.

Discussion Crash when changing views (2.0.5.76)

P

psyke

Guest
After the latest update (2.0.5.76), my game crashes whenever I change the view in the resource tree. I tried deleting all the views and creating it again, but didn't worked.

System specs:
Windows 10 - Home, i5-4440
GeForce 760x
8gb Ram


ss_01.jpg

ss_02.jpg


Here is the UI.LOG
[14:17:21:410(f3e0)] ************************************** 03/10/2017 **************************************
[14:17:21:411(f3e0)] Log.Initialise
[14:17:21:412(f3e0)] GameMakerStudio, Version=2.0.5.76, Culture=neutral, PublicKeyToken=83c29ed24e39e35e
[14:17:21:412(f3e0)] Initialise()
[14:17:21:492(f3e0)] Unable to load DLL 'CSteamworks': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
[14:17:21:512(f3e0)] File exception 'Could not find file 'C:\ProgramData\GameMakerStudio2\Cache\Survey\surveys_done.json'.'
[14:17:21:659(f3e0)] File exception 'Could not find a part of the path 'C:\Program Files\GameMaker Studio 2\user_cache_directory\Styles'.'
[14:17:21:731(f3e0)] File exception 'Could not find file 'C:\ProgramData\GameMakerStudio2\org_settings.json'.'
[14:17:21:732(f3e0)] File exception 'Could not find file 'C:\ProgramData\GameMakerStudio2\machine_settings.json'.'
[14:17:29:644(f3e0)] Shader 'standard_shader' loaded.
[14:17:29:645(f3e0)] Shader 'standard_flat_shader' loaded.
[14:17:29:657(f3e0)] Shader 'layer_add_blend_shader' loaded.
[14:17:29:659(f3e0)] Shader 'layer_normal_blend_shader' loaded.
[14:17:29:661(f3e0)] Shader 'layer_multiply_blend_shader' loaded.
[14:17:29:662(f3e0)] Shader 'layer_subtract_blend_shader' loaded.
[14:17:29:896(f3e0)] String not found: Exception_GUIBase
[14:17:33:219(f3e0)] Update found - got 16 items
[14:17:33:220(f3e0)] Revision 2.0.1 found
[14:17:33:221(f3e0)] Revision 2.0.2 found
[14:17:33:221(f3e0)] Revision 2.0.3 found
[14:17:33:221(f3e0)] Revision 2.0.4 found
[14:17:33:221(f3e0)] Revision 2.0.5 found
[14:17:33:221(f3e0)] Latest revision 2.0.5 found
[14:17:33:221(f3e0)] Latest revision 2.0.5.77 found
[14:17:33:221(f3e0)] Current assembly revision is 2.0.5.76
[14:17:33:228(f3e0)] We need to update to <title>Version 2.0.5.77</title><pubDate>Fri, 10 Mar 2017 12:22:39 Z</pubDate><enclosure url="http://gms.yoyogames.com/GameMakerStudio-Installer-2.0.5.77.exe" type="application/octet-stream" length="174809840" /><author>[email protected] (gms2 optional)</author><comments>http://gms.yoyogames.com/release-notes-win-2.0.5.77.json</comments><description>&lt;p&gt;This is mainly an IDE and exports stability release, fixing a number of the issues we've had reported.&lt;/p&gt;

&lt;p&gt;However, we have also added new Gesture events to allow simple detection of taps, double-taps, drags and flicks, which vastly simplifies interaction on touch-screen devices. On desktop devices, the mouse will also act as the first finger, allowing you to test single-touch events.&lt;/p&gt;

&lt;p&gt;There is also a new layer compositing system in the Image Editor, which allows for more accurate compositing and better layer effects in the future.&lt;/p&gt;
</description><link>http://gms.yoyogames.com/GameMakerStudio-Installer-2.0.5.77.exe</link><guid isPermaLink="false">555ba66-36a1bcc1a10396356f13762703cea200</guid>
[14:18:02:637(f3e0)] Creating temp directory C:\Users\Psyke\AppData\Local\Temp\GameMakerStudio2
[14:18:03:140(f3e0)] DnD: Installing gadgets from IDE
[14:18:03:267(f3e0)] Discarding document 176afd07-7507-4a91-be91-a6540a7ae3e1.gml
[14:18:03:945(f3e0)] Assembly avcodec-56.dll not signed
[14:18:03:975(f3e0)] Assembly avformat-56.dll not signed
[14:18:03:991(f3e0)] Assembly avutil-54.dll not signed
[14:18:04:0(f3e0)] Assembly BitMiracle.LibJpeg.NET.dll not signed
[14:18:04:18(f3e0)] Assembly BitMiracle.LibTiff.NET.dll not signed
[14:18:04:605(f3e0)] SP:: EnsureUpToDate()
[14:18:04:605(f3e0)] SP:: EnsureUpToDate_GetSave()
[14:18:04:605(f3e0)] SP:: StartPageSave.GetSave()
[14:18:04:642(f3e0)] SP:: EnsureUpToDate_GotSave()
[14:18:04:644(f3e0)] Assembly crypto.dll not signed
[14:18:04:735(f3e0)] Assembly d3dcompiler_43.dll not signed
[14:18:04:738(f3e0)] SP:: EnsureUpToDate.FileExists()
[14:18:04:740(f3e0)] SP:: GenerateStartPageAsync()
[14:18:04:745(f3e0)] SP:: MakeDesignGenerator()
[14:18:04:753(f3e0)] SP:: CopyDependencyFiles()
[14:18:04:794(f3e0)] SP:: MoveDir.MoveDir(C:\Program Files\GameMaker Studio 2\GUI\Skins\Dark\Images\StartPage, C:\ProgramData/GameMakerStudio2/Cache\StartPage_0\Web\refs/images)
[14:18:04:978(f3e0)] Assembly d3dcompiler_47.dll not signed
[14:18:04:983(f3e0)] SP:: MoveDir.DirectoryExists()
[14:18:05:62(f3e0)] SP:: MoveDir.DeleteDirectory()
[14:18:05:76(f3e0)] Assembly FFmpegWrapper.dll not signed
[14:18:05:92(f3e0)] Assembly freetype6.dll not signed
[14:18:05:122(f3e0)] API restriction: The assembly '' has already loaded from a different location. It cannot be loaded from a new location within the same appdomain.
[14:18:05:155(f3e0)] API restriction: The assembly '' has already loaded from a different location. It cannot be loaded from a new location within the same appdomain.
[14:18:05:183(f3e0)] Assembly libcef.dll not signed
[14:18:05:207(f3e0)] Assembly libEGL.dll not signed
[14:18:05:230(f3e0)] Assembly LibGit2Sharp.dll not signed
[14:18:05:252(f3e0)] Assembly libGLESv2.dll not signed
[14:18:05:259(f3e0)] Assembly Newtonsoft.Json.dll not signed
[14:18:05:281(f3e0)] Assembly openal32.dll not signed
[14:18:05:362(f3e0)] API restriction: The assembly '' has already loaded from a different location. It cannot be loaded from a new location within the same appdomain.
[14:18:05:365(f3e0)] SP:: MoveDir.CopyDirectory()
[14:18:05:423(f3e0)] API restriction: The assembly '' has already loaded from a different location. It cannot be loaded from a new location within the same appdomain.
[14:18:05:429(f3e0)] Assembly Pngcs.dll not signed
[14:18:05:445(f3e0)] Assembly SharpCompress.dll not signed
[14:18:05:599(f3e0)] SP:: GenerationCompleted()
[14:18:05:600(f3e0)] SP:: StartPageSave.WriteSave()
[14:18:05:601(f3e0)] SP:: StartPageSave.WriteSave_Done()
[14:18:05:603(f3e0)] Assembly Steamworks.NET.dll not signed
[14:18:05:633(f3e0)] Assembly swresample-1.dll not signed
[14:18:05:649(f3e0)] Assembly TestPackage.dll not signed
[14:18:05:663(f3e0)] Assembly TilesetGeneration.dll not signed
[14:18:05:682(f3e0)] API restriction: The assembly '' has already loaded from a different location. It cannot be loaded from a new location within the same appdomain.
[14:18:05:702(f3e0)] Assembly widevinecdmadapter.dll not signed
[14:18:05:706(f3e0)] Assembly Xilium.CefGlue.dll not signed
[14:18:05:732(f3e0)] API restriction: The assembly '' has already loaded from a different location. It cannot be loaded from a new location within the same appdomain.
[14:18:05:737(f3e0)] File exception 'Could not find file 'C:\Users\Psyke\AppData\Roaming\GameMakerStudio2\iuripsyke_8632\input.json'.'
[14:18:05:738(f3e0)] Failed to load help tags file:C:\Users\Psyke\AppData\Roaming/GameMakerStudio2\iuripsyke_8632\input.json
[14:18:05:753(f3e0)] File exception 'Could not find file 'C:\Users\Psyke\AppData\Roaming\GameMakerStudio2\iuripsyke_8632\devices.json'.'
[14:18:05:753(f3e0)] Device Manager Load Failed: Could not find file 'C:\Users\Psyke\AppData\Roaming\GameMakerStudio2\iuripsyke_8632\devices.json'.
[14:18:05:940(f3e0)] SP:: Initialise()
[14:18:05:941(f3e0)] SP:: CarouselManager.GetCarousel()
[14:18:05:976(f3e0)] SP:: ReadRecentTutorials()
[14:18:05:976(f3e0)] SP:: Initialise TutorialManager()
[14:18:05:977(f3e0)] File exception 'Could not find file 'C:\Users\Psyke\AppData\Roaming\GameMakerStudio2\iuripsyke_8632\recent_tutorials'.'
[14:18:05:979(f3e0)] File exception 'Could not find a part of the path 'C:\Users\Psyke\AppData\Roaming\GameMakerStudio2\iuripsyke_8632\Marketplace\Tutorials'.'
[14:18:05:982(f3e0)] SP:: Initialise DemoManager()
[14:18:05:983(f3e0)] File exception 'Could not find a part of the path 'C:\Users\Psyke\AppData\Roaming\GameMakerStudio2\iuripsyke_8632\Marketplace\Demos.json'.'
[14:18:05:986(f3e0)] SP:: OpenStartPage()
[14:18:05:997(f3e0)] SP:: ShowWindow()
[14:18:06:330(f3e0)] SP:: WebView.OnLoadingChange()
[14:18:06:352(f3e0)] SP:: ReadRecentTutorials_Failed()
[14:18:06:352(f3e0)] SP:: ReadRecentTutorials_Success()
[14:18:06:352(f3e0)] Failed to load demos file:${user_directory}\Marketplace\Demos.json
[14:18:06:833(f3e0)] SP:: GetCarousel_Success()
[14:18:08:799(f3e0)] SP:: WebView.OnLoadingChange()
[14:18:08:799(f3e0)] SP:: WebView.OnLoadingChange_Success()
[14:18:08:800(f3e0)] SP:: JSHelper.UpdateStartPage()
[14:18:08:842(f3e0)] SP:: JSHelper.SetLocalisation()
[14:18:08:844(f3e0)] SP:: JSHelper.SetCarousel()
[14:18:08:846(f3e0)] SP:: JSHelper.SetRecentProjects()
[14:18:08:851(f3e0)] SP:: OnPostLayout RequireRender=true
[14:18:08:871(f3e0)] SP:: ProcessSchemaUri()
[14:18:10:242(f3e0)] SP:: ProcessSchemaUri()
[14:18:10:277(f3e0)] ResourceManager resources have been cleared
[14:18:10:311(f3e0)] Setting ProjectFullFilePathMacro to 'C:\Users\Psyke\Documents\Iuri\Development\Projects\Game Maker 2\Blazing Chrome\Blazing Chrome.yyp'
[14:18:10:311(f3e0)] Setting ProjectDirMacro to 'C:\Users\Psyke\Documents\Iuri\Development\Projects\Game Maker 2\Blazing Chrome'
[14:18:10:311(f3e0)] Setting ProjectNameMacro to 'Blazing Chrome'
[14:18:10:449(f3e0)] Loading project layout from: C:\Users\Psyke\AppData\Roaming/GameMakerStudio2\iuripsyke_8632\Layouts\Blazing Chrome\Blazing Chrome\08355cab-d531-497b-a9c8-5e8c186c3ca7.xml
[14:18:10:453(f3e0)] SP:: OnLoadRecentProjects_Success()
[14:18:10:454(f3e0)] SP:: JSHelper.SetRecentProjects()
[14:18:10:643(f3e0)] 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
[14:18:10:694(f3e0)] 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
[14:18:10:718(f3e0)] 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
[14:18:10:745(f3e0)] 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
[14:18:10:764(f3e0)] 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
[14:18:10:780(f3e0)] 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
[14:18:10:821(f3e0)] Loading project 'C:\Users\Psyke\Documents\Iuri\Development\Projects\Game Maker 2\Blazing Chrome\Blazing Chrome.yyp'
[14:18:11:609(f3e0)] Creating FolderWatcher at 'C:\Users\Psyke\Documents\Iuri\Development\Projects\Game Maker 2\Blazing Chrome'
[14:18:12:443(f3e0)] Suspend: Suspended = 1 for watcher 'C:\Users\Psyke\Documents\Iuri\Development\Projects\Game Maker 2\Blazing Chrome'
[14:18:13:128(f3e0)] Resource file is malformed 'objects\objHornetMK1\objHornetMK1.yy' System.ArgumentException: An item with the same key has already been added.
at YoYoStudio.MVC.ResourceManager.DeserialiseIntoResourceModel(String _jsonData, String _resourceType, Boolean _register)
at YoYoStudio.MVC.ResourceManager.DeserialiseResource(String _jsonData, GMResourceInfo_Controller _resInfo, Boolean _addResource)
at YoYoStudio.Plugins.CorePlugins.ProjectLoadSave.ReadResource(String _resourceJson, GMResourceInfo_Controller _resInfo, Boolean _addResource)
[14:18:14:126(f3e0)] Creating FolderWatcher at 'C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.0.5.49\BaseProject'
[14:18:14:128(f3e0)] Suspend: Suspended = 1 for watcher 'C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.0.5.49\BaseProject'
[14:18:14:441(f3e0)] Load project took 00:00:03.6185000
[14:18:14:676(f3e0)] SP:: ProjectLoaded()
[14:18:14:677(f3e0)] SP:: AddRecentTutorialProject()
[14:18:14:678(f3e0)] SP:: Close()
[14:18:15:860(f3e0)] IDE: SaveProjectIncremental()
[14:18:15:860(f3e0)] Setting FolderWatcher 'C:\Users\Psyke\Documents\Iuri\Development\Projects\Game Maker 2\Blazing Chrome' to False
[14:18:15:861(f3e0)] Saving project to: C:\Users\Psyke\Documents\Iuri\Development\Projects\Game Maker 2\Blazing Chrome\Blazing Chrome.yyp
[14:18:15:864(f3e0)] Saving project at 'C:\Users\Psyke\Documents\Iuri\Development\Projects\Game Maker 2\Blazing Chrome\Blazing Chrome.yyp'
[14:18:15:880(f3e0)] Saving 9 resources
[14:18:16:857(f3e0)] Save project took 00:00:00.9926552
[14:18:16:858(f3e0)] Setting FolderWatcher 'C:\Users\Psyke\Documents\Iuri\Development\Projects\Game Maker 2\Blazing Chrome' to True
[14:18:20:362(f3e0)] Trying to add config 'default', parent '' to the resource view twice
[14:18:20:534(f3e0)] --------------------------------------------------------------------------------
[14:18:20:535(f3e0)] IDE Exception: System.ArgumentOutOfRangeException
[14:18:20:535(f3e0)] Exception message: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
[14:18:20:572(f3e0)] Exception stack: at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at YoYoStudio.Core.Utils.WeakEvent`1.Throw(InterruptEvent _interrupt, Object[] _args)
at YoYoStudio.GUI.WindowManager.PostInput()
at YoYoStudio.IDE.Run()
at YoYoStudio.IDE.Execute(String[] _args, Int32 _initialWidth, Int32 _initialHeight)
[14:18:20:582(f3e0)] --------------------------------------------------------------------------------
[14:18:20:582(f3e0)] ####################################
[14:18:20:583(f3e0)] Break in FatalErrorWarning
[14:18:20:583(f3e0)] ####################################
[14:18:20:636(f3e0)] --------------------------------------------------------------------------------
[14:18:20:637(f3e0)] Unhandled Exception: YoYoStudio.Graphics.PrimitiveBuilderException
[14:18:20:637(f3e0)] Exception message: Error: PrimitiveBuilder was not called finished correctly, you MUST call End()
[14:18:20:637(f3e0)] Exception stack: at YoYoStudio.Graphics.PrimitiveBuilder.Finalize()
[14:18:20:647(f3e0)] --------------------------------------------------------------------------------

Thanks.
 
C

CyanideFuse

Guest
Same problem here. I have just filed a bug report.

Other projects are okay but my main one won't allow me to use any views other than the default one. I cannot delete the existing views as it results in an immediate crash. Creating a new view, going back to default and then back to the new view also crashes GMS.
 

stuckie

GameMaker Staff
GameMaker Dev.
Please make sure that if it only happens with certain projects, that you include that project along with the bug report.
This bug seems to be a bit of a pest to reproduce, and it's not evident what has exploded as it's in a callback at that point.
 
Top