0 Favourites

Black screen on Chromebook

  • Hello !

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

    [quote:26hy7zke]Cannot set property 'hasCurrentMatMV' of null c2runtime.js:49

    It is located on this function:

    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);
    	};[/code:26hy7zke]
    
    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
  • Construct 3

    Buy Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Buy Now Construct 3 users don't see these ads
  • Please file a bug report following all the guidelines and we'll look in to it.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)