Bug Issue: Game file error - cannot build game to test it. Please help!

Pages: 1


  • Junior Stencyler
October 15, 2019, 04:36:17 pm
Hi Everyone,

I've been working hard on developing my first Stencyl game, but when I try to test the game or individual scenes, it only loads the main menu screen, then shows an error screen. I have posted the file script errors below:

TypeError: Error #1034: Type Coercion failed: cannot convert com.stencyl.models.scene::Tileset@7839fc1 to com.stencyl.models.actor.ActorType.
   at com.stencyl.behavior::Script$/getActorType()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib\stencyl\1,00\com\stencyl\behavior\Script.hx:1835]
   at MethodInfo-9824()[C:\Users\alici\AppData\Roaming\Stencyl\stencylworks\games-generated\my game\Source\scripts\Design_13_13_EnemyWalkingAI.hx:139]
   at com.stencyl.models::Actor/innerUpdate()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib\stencyl\1,00\com\stencyl\models\Actor.hx:1532]
   at com.stencyl::Engine/update()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib\stencyl\1,00\com\stencyl\Engine.hx:2647]
   at com.stencyl::Engine/postUpdate()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib\stencyl\1,00\com\stencyl\Engine.hx:2803]
   at com.stencyl::Engine/onUpdate()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib\stencyl\1,00\com\stencyl\Engine.hx:2776]

The actors appear on-screen once I dismiss the error message, however, there is no background and the actors do not perform any of the assigned behaviours.

Please help!


  • Master Stencyler
  • *
October 15, 2019, 08:34:39 pm
In your Enemy Walking AI behavior (or an actor/scene that has it attached), you may have an unset actor type attribute.


  • Junior Stencyler
October 22, 2019, 03:12:05 pm
thank you so much you are absolutely a legend
thanx lad  8)

Issue updated by Justin - November 14, 2019, 08:17:23 pm
  • Status changed from New to Closed

Pages: 1


  • Reported
    October 15, 2019, 04:36:17 pm
  • Updated
    November 14, 2019, 08:17:23 pm

  • View Status
  • Type
  • Status
  • Priority
  • Version
    Stencyl 3.5
  • Fixed in
  • Assigned to
  • Category
    Compiling/Testing Games