[r136] Particles bug on Cocoonjs

Bugs will be moved here once resolved.

Post » Wed Jun 26, 2013 4:03 pm

Excuse my poor English.
This issue not exist on r134.
I update r134 to r136.

Link to .capx file (required!):
http://url.cn/EJKxEq
http://share.weiyun.com/85f5ed9e34254cfd200099161e49579f

Steps to reproduce:
1. export cocoonjs zip
2. run on the cocoonjs launcher (I use cocoonjs launcher on iphone 4s)
3. Touch to switch layout to layout2

Observed result:
Can not switch layout.
Launcher show error:
Java Script Exception(Line15322 Tag 'requesAnimationFrame') TypeError: 'null' is not an object (evaluating 'this.runtime.glwrap.loadTxture')

Expected result:
Go to layout 2

    
B
9
S
3
G
2
Posts: 54
Reputation: 2,468

Post » Thu Jun 27, 2013 5:49 am

If layout exist particles instance will cause the error.
B
9
S
3
G
2
Posts: 54
Reputation: 2,468

Post » Thu Jun 27, 2013 6:13 am

I'm having the same problem here too; the same error message and the same result. Hope it get fixed soon :(
B
7
S
2
G
1
Posts: 18
Reputation: 1,340

Post » Thu Jun 27, 2013 8:12 am

I'm getting a similar problem caused by particles:

Javascript Exception (Line: 18821 File: '13805000' Tag: 'timer'): TypeError: Result of expression 'this.runtime.glwrap' [null] is not an object.

This points to the function in the C2 runtime:

     typeProto.loadTextures = function ()
     {
          if (this.is_family || this.webGL_texture)
              return;
          this.webGL_texture = this.runtime.glwrap.loadTexture(this.texture_img, true, this.runtime.linearSampling, this.texture_pixelformat);
     };

This happens whether WebGL is enabled or disabled. Deleting the particles solved the problem.Nathan2013-06-27 08:13:26
B
29
S
8
G
4
Posts: 61
Reputation: 6,205

Post » Thu Jun 27, 2013 1:15 pm

Closing, should be fixed in the next build. (The problem is Particles doesn't work in canvas2d mode, but it should still work in WebGL mode.)
Scirra Founder
B
382
S
223
G
86
Posts: 23,998
Reputation: 189,773

Post » Fri Jun 28, 2013 9:59 pm

I'm experiencing this issue too. My error reads

Javascript Exception (Line: 4732 Tag: 'timer') TypeError: 'null is not an object' (evaluating this.b.I.Ae)

https://www.dropbox.com/s/v6nai5e9gijynp3/particlesbuild.capx
B
17
S
4
G
4
Posts: 143
Reputation: 4,004

Post » Mon Jul 01, 2013 10:47 pm

Experiencing this issue in Ejecta too, just so you know ;]
B
38
S
8
G
3
Posts: 439
Reputation: 6,876


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 4 guests