View Issue Details

IDProjectCategoryView StatusLast Update
00297232.x IDE BugsGeneralPublic2019-05-16 12:04
ReporterSam CummingAssigned ToAlan Savage 
PriorityVery HighSeverityA - Crash/HangReproducibility100%
Status ClosedResolutionFixed 
Product Version2.1.4 
Target Version2.2.1Fixed in Version2.2.1 
Summary0029723: General: Crash when dragging multiple sprite folders into the IDE
DescriptionIf you try to drag a selection of one project's sprite folders (which contain both an image and a .yy for the sprite) from Explorer onto the Sprite group on the Resource Tree within a second project, the IDE will crash with the following exception in the ui.log:

[11:14:10:324(7b85)] --------------------------------------------------------------------------------
[11:14:10:325(7b85)] IDE Exception: System.ArgumentOutOfRangeException
[11:14:10:326(7b85)] Exception message: StartIndex cannot be less than zero.
Parameter name: startIndex
[11:14:10:329(7b85)] Exception stack: at System.String.Substring(Int32 startIndex, Int32 length)
   at YoYoStudio.MVC.ResourceHelper.<>c__DisplayClass69_2.<RegisterResourceFilesAtPath>b__2(Object _r2, Object _u2)
   at YoYoStudio.FileAPI.FileRequest.Complete(Object _result, Object _userData)
   at YoYoStudio.FileAPI.FileRequest.ResultOperation()
   at YoYoStudio.Core.Utils.FileAPI.ThreadedAsyncQueue.DispatchCompletedRequests()
   at YoYoStudio.FileAPI.FileSystem_Local.Tick(Boolean _applicationIsBackground)
   at YoYoStudio.FileAPI.FileSystem.Tick(Boolean _applicationIsBackground)
   at YoYoStudio.IDE.Tick()
   at YoYoStudio.IDE.Run()
   at YoYoStudio.IDE.Execute(String[] _args, Int32 _initialWidth, Int32 _initialHeight)
[11:14:10:330(7b85)] --------------------------------------------------------------------------------
[11:14:10:330(7b85)] ####################################
[11:14:10:330(7b85)] Break in FatalErrorWarning (IDE:2451)
[11:14:10:331(7b85)] ####################################

Steps To Reproduce1. Have one project (closed) which has a number of sprites in it.
2. Open a second project in the IDE.
3. Using Explorer, drag a multi-selection of sprites from project1 onto the Sprites group in the Resource Tree to add them to project2.
2. Observe crash.
TagsDragDrop, IDE
2.x IDE Found In2.1.4.288
2.x Runtime Found In
2.x IDE Verified In2.2.1.347
2.x Runtime Verified In2.2.1.262

Activities

There are no notes attached to this issue.