Been having this issues on a number of projects now, I was able to work around it, but the HMTL5 projects that I'm exporting are crashing people's computers/browsers. When I open the project, this is the error I immediately have pop up:
Can't really proceed until I get to the bottom of it, on the latest version of Stencyl as far as I know (10522). Tested on both mac and windows, same issues/errors occur. Any help would be appreciated.
java.lang.RuntimeException: java.lang.IndexOutOfBoundsException: Index: 3, Size: 0
at stencyl.sw.app.tasks.StencylWorker.done(StencylWorker.java:74)
at stencyl.sw.app.tasks.StencylWorker.done(StencylWorker.java:54)
at java.desktop/javax.swing.SwingWorker$5.run(Unknown Source)
at java.desktop/javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(Unknown Source)
at java.desktop/sun.swing.AccumulativeRunnable.run(Unknown Source)
at java.desktop/javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(Unknown Source)
at java.desktop/javax.swing.Timer.fireActionPerformed(Unknown Source)
at java.desktop/javax.swing.Timer$DoPostEvent.run(Unknown Source)
at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.IndexOutOfBoundsException: Index: 3, Size: 0
at java.base/java.util.ArrayList.rangeCheckForAdd(Unknown Source)
at java.base/java.util.ArrayList.add(Unknown Source)
at stencyl.sw.editors.scene.layerviews.ActorLayer.addActorToLayer(ActorLayer.java:208)
at stencyl.sw.editors.scene.layerviews.InteractiveLayerView.addActorToLayer(InteractiveLayerView.java:79)
at stencyl.sw.editors.scene.liteview.LiteEditorSceneModel.addActorToBuckets(LiteEditorSceneModel.java:345)
at stencyl.sw.editors.scene.liteview.LiteEditorSceneModel.addActor(LiteEditorSceneModel.java:397)
at stencyl.sw.editors.scene.liteview.LiteEditorSceneModel.<init>(LiteEditorSceneModel.java:81)
at stencyl.sw.editors.scene.liteview.LiteDesigner.<init>(LiteDesigner.java:81)
at stencyl.sw.app.tasks.OpenGameTask$PreloadCacheTask.doInBackground(OpenGameTask.java:227)
at stencyl.sw.app.tasks.OpenGameTask$PreloadCacheTask.doInBackground(OpenGameTask.java:185)
at java.desktop/javax.swing.SwingWorker$1.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.desktop/javax.swing.SwingWorker.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)