ProwlEngine / Prowl

An Open Source C# 3D Game Engine under MIT license, inspired by Unity and featuring a complete editor and built on Silk.NET
MIT License
328 stars 27 forks source link

simple config dir check #90

Closed recore67 closed 7 months ago

recore67 commented 7 months ago

Looks bad but, It seems that the script can't find Project.Projects_Directory on first build and halts at File.WriteAllText. However If you'd manually create the dir, build again, then AGAIN also delete the dir, the saving will work fine forever, so its weird.

summary: File.WriteAllText can create both the file and directory just not when building first time, for some reason.

michaelsakharov commented 7 months ago

Thanks for fixing this, Had no idea this was an issue as I've had the directory for a while now.