Black screen on Chromebook

Discussion and feedback on Construct 2

Post » Sun Jul 31, 2016 12:17 pm

Hello !

When I am running my game on Chromebook there is a black screen and this error is showing up:

Cannot set property 'hasCurrentMatMV' of null c2runtime.js:49


It is located on this function:
Code: Select all
GLBatchJob.prototype.doUpdateModelView = function ()
   {
      var i, len, s, shaderPrograms = this.glwrap.shaderPrograms, currentProgram = this.glwrap.currentProgram;
      for (i = 0, len = shaderPrograms.length; i < len; i++)
      {
         s = shaderPrograms[i];
         if (i === currentProgram && s.locMatMV)
         {
            s.updateMatMV(this.mat4param);
            s.hasCurrentMatMV = true;
         }
         else
            s.hasCurrentMatMV = false;
      }
      mat4.set(this.mat4param, this.glwrap.currentMV);
   };


I believe that the shaderlist contains nullpointers so it can't set its own variables. I also suspect that a specific shader may be the cause. Now is there a way to prevent this from happening like blocking the shader instead of running it ?

Thanks in advance,
Nemega
B
5
S
1
G
1
Posts: 24
Reputation: 538

Post » Mon Aug 01, 2016 10:45 am

Please file a bug report following all the guidelines and we'll look in to it.
Scirra Founder
B
398
S
236
G
88
Posts: 24,428
Reputation: 194,600


Return to Construct 2 General

Who is online

Users browsing this forum: bounty, Yahoo [Bot] and 23 guests