View Issue Details

IDProjectCategoryView StatusLast Update
00304272.x IDE BugsGeneralPublic2019-01-31 16:48
ReporterDanAssigned ToAlan Savage 
PriorityMediumSeverityC - GeneralReproducibility100%
Status ClosedResolutionFixed 
Platform-OSWindows 10OS VersionPro x64
Product Version2.2.2 
Target Version2.2.2Fixed in Version2.2.2 
Summary0030427: General: Deleting temp folder on shutdown aborts if files have path lengths longer than Windows allows
DescriptionDeleting the GMS2 temp folder on shutdown will abort or has errors if files have path lengths longer than Windows allows. This can easily happen if you're building any Android projects with extensions. E.g.:

[16:14:23:405(4a65)] Deleting temp directory C:\Users\daniel.cleaton\AppData\Local\GameMakerStudio2\GMS2TEMP
[16:14:23:408(4a65)] File exception 'Could not find a part of the path ''.'

Expected: We don't care/don't delete per-file and so this too-long path isn't an issue.
Steps To Reproduce1. Start GMS2 and ensure your Preference is set to clean the temp folder on shutdown
2. Build a project which uses Google APK Expansion.
3. Shut down GMS2.
4. Observe your ui.log has an error in it and at least that project's temp folder will still be there in the temp folder if you check it in Explorer.

Repro: 100%
2.x IDE Found In2.2.2.384
2.x Runtime Found In2.2.2.294
2.x IDE Verified In2.2.2.390
2.x Runtime Verified In2.2.2.302


There are no notes attached to this issue.