Bug Issue: HTML5 isn't working on IE and Opera


Pages: 1 2

RulezTeam

  • Subscriber - Stencyl Studio
  • *
January 14, 2019, 03:27:37 am
Hi,
I'm on 10214, and now I've tried to export to html5 but with IE and Opera, the game stop itself on loader (the bar doen't load), while on Firefox, I can see the first scene, and then nothing.
I've tested html5 on older release without this problem (I could play the game, with another issue; only one player at once, but now I cannot find my report bug).


RulezTeam

  • Subscriber - Stencyl Studio
  • *
January 14, 2019, 03:29:13 am
Edit

I've found my other issue : http://community.stencyl.com/index.php?issue=1176.0


rob1221

  • Master Stencyler
  • *
January 14, 2019, 11:36:20 am
Do you have your sounds in both MP3 and OGG format?
Do you happen to be testing in a virtual machine?
What errors do the browsers give you?
  • Status changed from New to Need Info


RulezTeam

  • Subscriber - Stencyl Studio
  • *
January 14, 2019, 11:47:42 am
Hi rob,
yes, there are both format, I'm testing on physical machine, and these are the errors :

Code: [Select]
ToolsetInterface.hx:46: GCI attempting to connect to toolset @192.168.56.1:18525 Boot.hx:62:4
Firefox can’t establish a connection to the server at ws://192.168.56.1:18525/. Socket.hx:154:13
ToolsetInterface.hx:107: ioErrorHandler: [Event type="ioError" bubbles=false cancelable=false] Boot.hx:62:4
ToolsetInterface.hx:60: Couldn't establish gci connection. Boot.hx:62:4
Universal.hx:91: initScreen
XML Parsing Error: syntax error
Location: file:///D:/Stencyl/games-generated/GameExp/Export/html5/bin/assets/data/com.byrobingames.manager/notif.json?136693
Line Number 1, Column 1: notif.json:1:1
[lime.utils.AssetLibrary] Loaded asset: assets/data/com.byrobingames.manager/notif.json [TEXT] (305/368) Log.hx:108:3
[lime.utils.AssetLibrary] Loaded asset: assets/graphics/default-font.fnt [TEXT] (306/368) Log.hx:108:3
XML Parsing Error: no root element found
Location: file:///D:/Stencyl/games-generated/GameExp/Export/html5/bin/assets/data/com.byrobingames.manager/webview.html?136693
Line Number 1, Column 1: webview.html:1:1
[lime.utils.AssetLibrary] Loaded asset: assets/data/com.byrobingames.manager/webview.html [TEXT] (307/368)
XML Parsing Error: not well-formed
Location: file:///D:/Stencyl/games-generated/GameExp/Export/html5/bin/config/game-config.json?136693
Line Number 1, Column 1: game-config.json:1:1
[lime.utils.AssetLibrary] Loaded asset: config/game-config.json [TEXT] (361/368) Log.hx:108:3
XML Parsing Error: syntax error
Location: file:///D:/Stencyl/games-generated/GameExp/Export/html5/bin/config/preloader-badge.txt?136693
Line Number 1, Column 1: preloader-badge.txt:1:1
[lime.utils.AssetLibrary] Loaded asset: config/preloader-badge.txt [TEXT] (362/368) Log.hx:108:3
XML Parsing Error: syntax error
Location: file:///D:/Stencyl/games-generated/GameExp/Export/html5/bin/config/preloader-bg.txt?136693
Line Number 1, Column 1: preloader-bg.txt:1:1
[lime.utils.AssetLibrary] Loaded asset: config/preloader-bg.txt [TEXT] (363/368) Log.hx:108:3
[lime.utils.AssetLibrary] Loaded asset: config/preloader-bg.png [IMAGE] (364/368) Log.hx:108:3
[lime.utils.AssetLibrary] Loaded asset: config/preloader-badge.png [IMAGE] (365/368) Log.hx:108:3
[lime.utils.AssetLibrary] Loaded asset: config/preloader-bg@1.5x.png [IMAGE] (366/368) Log.hx:108:3
[lime.utils.AssetLibrary] Loaded asset: config/preloader-bg@2x.png [IMAGE] (367/368) Log.hx:108:3
XML Parsing Error: not well-formed
Location: file:///D:/Stencyl/games-generated/GameExp/Export/html5/bin/config/preloadPaths.txt?136693
Line Number 1, Column 7: preloadPaths.txt:1:7
[lime.utils.AssetLibrary] Loaded asset: config/preloadPaths.txt [TEXT] (368/368) Log.hx:108:3
[lime.utils.Preloader] Loaded asset library [1/1] Log.hx:108:3
[lime.utils.Preloader] Preload complete Log.hx:108:3
GLUtil.hx:34: GL value of MAX_TEXTURE_SIZE: 16384 Boot.hx:62:4
Engine.hx:1871: Switching to scene 2 Boot.hx:62:4
TypeError: this._Leaderboard is null

I don't use webview or notify of Robyn in this game, so I don't know why these extension are present in the errors messagges.
When switch to scene 2, I haven't any leaderboard configured for web (only for mobile, with specific block)

This is only for Firefox. For Opera and IE the loader isn't starting, so could it be for the first line errors (ToolsetInterface.hx:46) ?
« Last Edit: January 14, 2019, 11:49:53 am by RulezTeam »


rob1221

  • Master Stencyler
  • *
January 14, 2019, 12:28:49 pm
I'm not familiar with that extension but it might still be running even if you aren't using any blocks associated with it.  Try disabling it and see if that changes anything with any of the browsers.


RulezTeam

  • Subscriber - Stencyl Studio
  • *
January 14, 2019, 02:18:03 pm
Hi Rob,

I've disable all Robyn extension and it's extension manager. Now, I've no errors about extension, but the game doesn't start.
In firefox, load the first scene and then this error :
Code: [Select]
GLUtil.hx:34: GL value of MAX_TEXTURE_SIZE: 16384 Boot.hx:62:4
Engine.hx:1871: Switching to scene 2 Boot.hx:62:4
TypeError: this._Leaderboard is null

In IE or Opera, the game doesn't load the loader bar as I said you.
So, it's not a problem of extension.
« Last Edit: January 14, 2019, 02:18:29 pm by RulezTeam »


rob1221

  • Master Stencyler
  • *
January 14, 2019, 02:23:37 pm
Just to rule out or confirm any game-specific problems, can you try testing with a blank game?


RulezTeam

  • Subscriber - Stencyl Studio
  • *
January 15, 2019, 01:27:34 am
Hi rob,
I've tested with a blank game and the problem persist with Opera or IE. I'll try with Chrome and report here if it has the same block at loader screen.

With Firefox no problem at all. The game start. So, I've found the problem after the first scene, and the first game that I've tested, now it's working.

But, as I said, with Opera and IE it doesn't load.


Edit :
I've attached the different stop of loader with IE and Opera

Edit2 :
Chrome has the same problem like Opera. The loader don't load anything
« Last Edit: January 15, 2019, 01:38:28 am by RulezTeam »


New attachment added by RulezTeam - January 15, 2019, 01:29:53 am


New attachment added by RulezTeam - January 15, 2019, 01:29:59 am


RulezTeam

  • Subscriber - Stencyl Studio
  • *
January 15, 2019, 01:53:53 am
Some updates from Firefox (the only browser that is working).

The game start, but if I wait some time (30/40sec) I have these errors :
Code: [Select]
Error: WebGL warning: texImage2D: Failed to allocate dest buffer. WebGLRenderContext.hx:87:2
Error: WebGL warning: drawElements: This operation requires zeroing texture data. This is slow. Context3D.hx:512:2
Error: WebGL warning: drawElements: Failed to zero tex image data. Context3D.hx:512:2
Error: WebGL warning: texImage2D: Failed to allocate dest buffer. WebGLRenderContext.hx:87:2
Error: WebGL warning: drawElements: This operation requires zeroing texture data. This is slow. Context3D.hx:512:2
Error: WebGL warning: drawElements: Failed to zero tex image data. Context3D.hx:512:2
Error: WebGL warning: texImage2D: Failed to allocate dest buffer. WebGLRenderContext.hx:87:2
Error: WebGL warning: drawElements: This operation requires zeroing texture data. This is slow. Context3D.hx:512:2
Error: WebGL warning: drawElements: Failed to zero tex image data. Context3D.hx:512:2
Error: WebGL warning: texImage2D: Driver ran out of memory during upload. Test_HTML5.js:69358:3
Error: WebGL warning: texImage2D: Driver ran out of memory during upload. WebGLRenderContext.hx:87:2
Error: WebGL warning: bufferData: Error from driver: 0x0505
WebGLRenderContext.hx:39:2
Error: WebGL warning: drawElements: Index buffer too small. Context3D.hx:512:2
Error: WebGL warning: texImage2D: Driver ran out of memory during upload. Test_HTML5.js:69358:3
Error: WebGL warning: texImage2D: Failed to allocate dest buffer. WebGLRenderContext.hx:87:2
Error: WebGL warning: bufferData: Error from driver: 0x0505
WebGLRenderContext.hx:39:2
Error: WebGL warning: drawElements: Index buffer too small. Context3D.hx:512:2
Error: WebGL warning: texImage2D: Driver ran out of memory during upload. Test_HTML5.js:69358:3
Error: WebGL warning: texImage2D: Driver ran out of memory during upload. WebGLRenderContext.hx:87:2
Error: WebGL warning: bufferData: Error from driver: 0x0505
WebGLRenderContext.hx:39:2
Error: WebGL warning: drawElements: Index buffer too small. Context3D.hx:512:2
Error: WebGL warning: texImage2D: Driver ran out of memory during upload. Test_HTML5.js:69358:3
Error: WebGL warning: texImage2D: Driver ran out of memory during upload. WebGLRenderContext.hx:87:2
Error: WebGL warning: bufferData: Error from driver: 0x0505
WebGLRenderContext.hx:39:2
Error: WebGL warning: drawElements: Index buffer too small.

and after a little bit, the screen is flickering, some black square are showed and the game crash, or firefox crash itself.


« Last Edit: January 15, 2019, 02:01:50 am by RulezTeam »


RulezTeam

  • Subscriber - Stencyl Studio
  • *
January 15, 2019, 07:23:19 am
From log of Firefox is present another (old) bug :

http://community.stencyl.com/index.php?topic=34520.0

Code: [Select]
Script.hx:757: Error in scripts.SceneEvents_2: Cannot add listener function to null actor.  boot.hx:62:4

public function addMouseOverActorListener(a:Actor, func:Int->Array<Dynamic>->Void)
{ if(a == null)
{
trace("Error in " + wrapper.classname +": Cannot add listener function to null actor.");
return;
}

a.mouseOverListeners.push(func);



rob1221

  • Master Stencyler
  • *
January 15, 2019, 07:32:46 am
So just to be clear, those Firefox errors are specific to your game and not an issue with a blank game?  The first set of errors looks shader related, so are you using any shaders or actor effects?  The null actor error can be avoided by setting the actor in when created or using a different collision event if the actor can't be determined until later.

Also I tested IE and Edge and see no issues on my end.


RulezTeam

  • Subscriber - Stencyl Studio
  • *
January 15, 2019, 09:49:26 am
Hi rob,
the problem with other browsers than Firefox is present on all my games; with blank game too. (I've attached a project)
It's strange that the problem of shader (but I think it's related to memory) is present in this game that I didn't make use of them, but it seems not present in another game that I use some shader code.


New attachment added by RulezTeam - January 15, 2019, 09:49:37 am


New attachment added by RulezTeam - January 15, 2019, 09:49:48 am


rob1221

  • Master Stencyler
  • *
January 15, 2019, 10:02:01 am
The attached game shows no errors in Firefox for me.


RulezTeam

  • Subscriber - Stencyl Studio
  • *
January 15, 2019, 11:34:14 am
Hi rob,

for me too, no problem with Firefox.
The problems are with Opera, IE and Chrome !


rob1221

  • Master Stencyler
  • *
January 15, 2019, 11:56:38 am
OK, lets focus on that then.  What errors show up for IE and Chrome?
« Last Edit: January 15, 2019, 11:57:22 am by rob1221 »


RulezTeam

  • Subscriber - Stencyl Studio
  • *
January 15, 2019, 12:21:09 pm
Hi rob,
as I wrote, with Opera, IE and Chrome the game stop at loader (look at images that I've posted), so I don't know. Is there a method to show console as Firefox for the others browsers ?
« Last Edit: January 15, 2019, 12:21:45 pm by RulezTeam »


rob1221

  • Master Stencyler
  • *
January 15, 2019, 12:49:54 pm
For IE, go to settings and then F12 Developer Tools.  For Chrome, use Ctrl + Shift + J.


Pages: 1 2

Details

  • Reported
    January 14, 2019, 03:27:37 am
  • Updated
    February 25, 2023, 02:40:20 am

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

Tags


Attachments


* IE_BlockLoader.jpg (4.1 kB, 453x375 - viewed 1915 times.)

* Opera_Loader.jpg (2.5 kB, 345x214 - viewed 1930 times.)
* BugStartScene.stencyl (601.46 kB - downloaded 989 times.)
* HTML5Export.zip (1033.14 kB - downloaded 1149 times.)

* Chrome.jpg (119.66 kB, 562x637 - viewed 1966 times.)