Bug Issue: Extension : include.nmml settings produces error on Flash


Pages: 1

mdotedot

  • Subscriber - Stencyl Studio
  • *
November 01, 2018, 06:12:21 am
Using this include.nmml inside an extension gives errors on Flash publication!
(Windows, MacOSX, Android, iOS, html5 = all fine)


2018-11-01 06:07:22,168 DEBUG [Thread-1982] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Embedding asset: (TEXT) Config/preloadPaths.txt
2018-11-01 06:07:22,168 DEBUG [Thread-1982] stencyl.sw.util.StreamGobbler: [haxelib.exe]  - Embedding asset: (MANIFEST) manifest/default.json
2018-11-01 06:07:22,169 INFO  [Thread-1982] stencyl.sw.util.StreamGobbler: [haxelib.exe] Called from ? line 1
2018-11-01 06:07:22,169 INFO  [Thread-1982] stencyl.sw.util.StreamGobbler: [haxelib.exe] Called from CommandLineTools.hx line 2084
2018-11-01 06:07:22,171 INFO  [Thread-1982] stencyl.sw.util.StreamGobbler: [haxelib.exe] Called from CommandLineTools.hx line 25
2018-11-01 06:07:22,174 INFO  [Thread-1982] stencyl.sw.util.StreamGobbler: [haxelib.exe] Called from CommandLineTools.hx line 146
2018-11-01 06:07:22,175 INFO  [Thread-1982] stencyl.sw.util.StreamGobbler: [haxelib.exe] Called from CommandLineTools.hx line 730
2018-11-01 06:07:22,177 INFO  [Thread-1982] stencyl.sw.util.StreamGobbler: [haxelib.exe] Called from lime/tools/PlatformTarget.hx line 109
2018-11-01 06:07:22,178 INFO  [Thread-1982] stencyl.sw.util.StreamGobbler: [haxelib.exe] Called from FlashPlatform.hx line 202
2018-11-01 06:07:22,179 INFO  [Thread-1982] stencyl.sw.util.StreamGobbler: [haxelib.exe] Called from lime/tools/FlashHelper.hx line 900
2018-11-01 06:07:22,180 INFO  [Thread-1982] stencyl.sw.util.StreamGobbler: [haxelib.exe] Called from lime/tools/FlashHelper.hx line 720
2018-11-01 06:07:22,181 INFO  [Thread-1982] stencyl.sw.util.StreamGobbler: [haxelib.exe] Called from format/swf/Writer.hx line 59
2018-11-01 06:07:22,181 INFO  [Thread-1982] stencyl.sw.util.StreamGobbler: [haxelib.exe] Called from format/swf/Writer.hx line 1269
2018-11-01 06:07:22,183 INFO  [Thread-1982] stencyl.sw.util.StreamGobbler: [haxelib.exe] Called from C:\Users\Justin\dev\eclipse\Stencyl\plaf\haxe-std\std/haxe/io/Output.hx line 208
2018-11-01 06:07:22,183 INFO  [Thread-1982] stencyl.sw.util.StreamGobbler: [haxelib.exe] Uncaught exception - Invalid operation (>>)
2018-11-01 06:07:22,190 DEBUG [pool-1-thread-103] stencyl.sw.util.Util: Process 'haxelib.exe' exited with code: 1
2018-11-01 06:07:22,190 ERROR [pool-1-thread-103] stencyl.sw.app.tasks.buildgame.GameBuilder: Failed: Building for Flash. (Return code: 1)



<?xml version="1.0" encoding="utf-8"?>
<project>
 <define name="openfl-share-context" value="" />
 <window background="#00000000" antialiasing="4" />
</project>

Workaround:

<?xml version="1.0" encoding="utf-8"?>
<project>
 <define name="openfl-share-context" value=""  unless="flash" />
 <window background="#00000000" antialiasing="4" unless="flash"  />
</project>



rob1221

  • Master Stencyler
  • *
November 02, 2018, 07:56:45 am
Is that code supposed to be working on Flash?  What does it even do, and is it even needed on Flash?
  • Status changed from New to Need Info


mdotedot

  • Subscriber - Stencyl Studio
  • *
November 06, 2018, 12:21:59 am
Is there an include.nmml line that does work with Flash? My estimation is that anything in the include.nmml fails with Flash!
As reported there is a workaround so it is not a problem for my situation but maybe future settings in the include.nmml will...


rob1221

  • Master Stencyler
  • *
November 06, 2018, 06:15:41 am
For me, only the window background part fails on Flash.


mdotedot

  • Subscriber - Stencyl Studio
  • *
November 06, 2018, 11:37:58 pm
Indeed! I stand corrected. I thought I tested it without the window line.
At least in 10062 it works for the openlf setting.

Thanks Rob!

This can be closed!


Issue updated by rob1221 - November 07, 2018, 04:51:57 am
  • Status changed from Need Info to Closed


Pages: 1

Details

  • Reported
    November 01, 2018, 06:12:21 am
  • Updated
    November 07, 2018, 04:51:57 am

  • View Status
    Public
  • Type
    Bug
  • Status
    Closed
  • Priority
    Normal
  • Version
    3.5.0 beta 1
  • Fixed in
    (none)
  • Assigned to
    (none)
  • Category
    Engine

Tags