3.4.0 (Beta 5) - October 6, 2016


  • *
  • Posts: 17523
We've put out a new release that fixes a lot of bugs and makes us compatible with Apple's latest and greatest. Props to @Justin and @MaxFinch for getting us up to speed with the latest iOS / Xcode.

One major change to distribution is a switch back to a DMG for Macs. With Sierra, Apple has clamped down further on app security. Double-click the DMG to open it, and drag Stencyl to the desired place to install.

Get it now

See this page for the list of changes.

Potential breaking changes and things to keep in mind for this update:

- Team ID setting added to iOS certificates page. This is needed for Xcode 8.
See the updated step 8 of the iOS certificates guide.

- The way lists and maps are initialized has been changed.
If a list or a map has no default value, and it's a hidden attribute, it will always start out as "null". This means you must set the list or map to a new list/map before trying to add values to it or access it in any way, otherwise you will get an error or crash. See the stencylpedia guides on lists and maps.

- The behavior attribute blocks now work with the attributes events.

« Last Edit: October 06, 2016, 02:08:16 pm by Justin »


  • Posts: 308


  • Posts: 43
I updated to this version from 3.4.0 Beta 4 and now when I try to test my game in Flash Player I get errors.  :-[
I have no idea what is wrong as it was working great in beta 4 version.

Here is error code:

ArgumentError: Error #2015: Invalid BitmapData.
   at flash.display::BitmapData/ctor()
   at flash.display::BitmapData()
   at com.stencyl.models.background::ImageBackground/drawRepeated()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/models/background/ImageBackground.hx:89]
   at com.stencyl.models.background::ImageBackground/loadGraphics()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/models/background/ImageBackground.hx:148]
   at com.stencyl.models.background::ImageBackground()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/models/background/ImageBackground.hx:51]
   at com.stencyl.models.background::ScrollingBackground()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/models/background/ScrollingBackground.hx:24]
   at com.stencyl.io::BackgroundReader/read()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/io/BackgroundReader.hx:94]
   at com.stencyl::Data/readResource()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/Data.hx:275]
   at com.stencyl::Data/readResourceXML()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/Data.hx:261]
   at com.stencyl::Data/loadResources()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/Data.hx:216]
   at com.stencyl::Data/loadAll()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/Data.hx:150]
   at com.stencyl::Data$/get()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/Data.hx:57]
   at com.stencyl::Engine/begin()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:662]
   at com.stencyl::Engine()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:539]
   at Universal/init()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/Universal.hx:95]
   at Universal/onAdded()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/Universal.hx:74]
   at flash.display::DisplayObjectContainer/addChild()
   at Universal$/main()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/Universal.hx:553]
   at Function/http://adobe.com/AS3/2006/builtin::apply()
   at Function/<anonymous>()
   at ApplicationMain$/start()[Export/flash/haxe/ApplicationMain.hx:3057]
   at ApplicationMain$/init()[Export/flash/haxe/ApplicationMain.hx:2975]
   at lime.app::Event_Void_Void/dispatch()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/lime/lime/lime/app/Event.hx:145]
   at lime.app::Preloader/start()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/lime/lime/lime/app/Preloader.hx:242]
   at openfl.display::Preloader/display_onComplete()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/openfl/openfl/openfl/display/Preloader.hx:129]
   at flash.events::EventDispatcher/dispatchEventFunction()
   at flash.events::EventDispatcher/dispatchEvent()
   at scripts::StencylPreloader/onLoaded()[Source/scripts/StencylPreloader.hx:314]
   at openfl.display::Preloader/start()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/openfl/openfl/openfl/display/Preloader.hx:93]
   at lime.app::Preloader/current_onEnter()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/lime/lime/lime/app/Preloader.hx:310]

And if I press Continue, I got this:

TypeError: Error #1009: Cannot access a property or method of a null object reference.
   at com.stencyl::Engine/postUpdate()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:2626]
   at com.stencyl::Engine/onUpdate()[C:/Program Files (x86)/Stencyl/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:2611]

EDIT: This also happen if I create a new blank scene that has nothing on it.

Anyone else facing the same problem or is it just bad luck with this version?


  • *
  • Posts: 4278
candycornown, would you like somebody from the team to look at your game and see if something has changed between beta4 and beta5?

For Live Support: Join our discord channel and ping me @justin.


  • *
  • Posts: 4278
I've updated the first post to mention some things to keep in mind when updating.

For Live Support: Join our discord channel and ping me @justin.


  • Posts: 43
candycornown, would you like somebody from the team to look at your game and see if something has changed between beta4 and beta5?

Justin, thanks for fast response. It would be great if someone from the team would look at it. Where can I send it?


  • *
  • Posts: 4278
You can send it to me via PM or over discord.

For Live Support: Join our discord channel and ping me @justin.


  • Posts: 43
You can send it to me via PM or over discord.

I sent it via PM.



  • *
  • Posts: 2182
Thanks Jon, Justin and Max for all your hard work :) !


  • *
  • Posts: 87

I recently tested my in development game (Next Jump: Shmup Tactics) using Beta 5 on Windows (on a friends machine, I use Stencyl on Ubuntu) and Scaling was bugged:
My game is configured to work on window mode with "2x" scaling (scale to fit (fill)). On Ubuntu it works as expected but on Windows it does not (it appears to be "1x" or "1.5x"). I tried to launch the game on Full-screen and then the 2x scaling "appears to work" instead of the proper "fullscreen scale to fit (fill)".

I don't know if Beta4 worked on Windows because I had only Beta5 to download at that time.

How can I help to fix this?


  • Posts: 524
@Jon @Justin @MaxFinch can someone send me this newest mac version via email. For some reason I can't seem to download it via the link. It's probably because I'm in China and everything is blocked but weird thing is even using my VPN I can't seem to connect to download or ping it...

« Last Edit: October 28, 2016, 09:21:28 pm by NeoCHI »


  • Posts: 1778
The link seems to be down for some reason. It's probably not because of your location.
Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.


  • Posts: 524
Oh great, thanks for confirming!

Can we get this link back up soon?


  • *
  • Posts: 190
Not only for the Public Beta 5.
Even the private release getbeta page, for the subscriber, is not accessible.


  • Posts: 21
Thanks Jon for your hard work. Keep it up!