YoYoGames / GameMaker-Bugs

Public tracking for GameMaker bugs
26 stars 8 forks source link

Project Save: GM can crash when creating a new project if blocked from reading the new file "IDE Exception: System.IO.FileNotFoundException: Could not find file" #1671

Open gm-bug-reporter[bot] opened 1 year ago

gm-bug-reporter[bot] commented 1 year ago

Description

When I try to make a new project GameMaker crashes

Steps To Reproduce

Click "New" then click "Game" then click "BlankGame" and then GameMaker closes

3002cdc6-d17d-49b9-b6a3-7a2cc05eda35

YYDan commented 1 year ago

Hello,

I can see that some runs GM is working fine for you, but on others it's blocked from reading your My Documents folder:

[17:52:39:89(998e)] --------------------------------------------------------------------------------
[17:52:39:110(998e)] IDE Exception: System.IO.FileNotFoundException: Could not find file 'C:\Users\[redacted]\Documents\GameMakerStudio2\A [redacted]'.
File name: 'C:\Users\[redacted]\Documents\GameMakerStudio2\A [redacted]'
   at System.IO.FileSystem.GetAttributes(String fullPath)
   at YoYoStudio.Plugins.MiscPlugins.StartScreen.NewProjectPanel.<CheckProjectLocation>b__117_0(Object _result, Object _userData)
   at YoYoStudio.FileAPI.FileSystem_Local.<>c__DisplayClass33_1.<GetDirectoryEntries>b__3()
   at YoYoStudio.FileAPI.FileRequest.ResultOperation()
   at YoYoStudio.Core.Utils.FileAPI.ThreadedAsyncQueue.DispatchCompletedRequests(Int32 _amount)
   at YoYoStudio.FileAPI.FileSystem_Local.Tick(Boolean _applicationIsBackground)
   at YoYoStudio.IDE.Tick()
   at YoYoStudio.IDE.Run()
   at YoYoStudio.IDE.Execute(String[] _args, Int32 _initialWidth, Int32 _initialHeight)
[17:52:39:111(998e)] --------------------------------------------------------------------------------

We will look into why being blocked like this is causing GameMaker to close; however, I suspect you can fix your antivirus/protection settings just now and stop this in your current GameMaker installation.

Please see https://help.yoyogames.com/hc/en-us/articles/360022953052