my project hangs while testing

0 favourites
  • 13 posts
From the Asset Store
With this template you can create your own archer game and customize it however you want.
  • When I turn off vertical sync in a project, in some cases my game freezes (picture) but sounds, music and events are executed. I use the option without limit on events. Why is this happening?

  • Hello,

    I can't see the image, did you upload it?

  • Hello,

    I can't see the image, did you upload it?

    I didn't plan on uploading a picture. I'm just saying that my game freezes in some cases, that is, the player's movement even stops working if I press something on the keyboard.

  • Okay, misunderstood your text.

    Can you open the developer tools and see if you're any errors?

  • Okay, misunderstood your text.

    Can you open the developer tools and see if you're any errors?

    are you talking about the preview debugger?

  • There is a built-in one in all browsers some needs developer mode to be activated.

    Depending on which browser you use, it is accessed in different ways.

    Using Chrome on Mac it can be accessed by pressing opt+cmd+i, on Windows press F12.

    For other browsers it's better to google it then me guessing.

  • There is a built-in one in all browsers some needs developer mode to be activated.

    Depending on which browser you use, it is accessed in different ways.

    Using Chrome on Mac it can be accessed by pressing opt+cmd+i, on Windows press F12.

    For other browsers it's better to google it then me guessing.

    runtime.js:94 Uncaught TypeError: Cannot read properties of null (reading 'Draw')

    at C3Runtime._Render (runtime.js:94:312)

    at C3Runtime.Render (runtime.js:93:277)

    at renderOnly (runtime.js:7:342)

    _Render runtime.js:94

    Render runtime.js:93

    renderOnly runtime.js:7

    requestAnimationFrame (async)

    _RequestAnimationFrame runtime.js:73

    Tick runtime.js:80

    tickOnly runtime.js:7

    OnTask miscutil.js:19

    256[.WebGL-00004298028E0000] GL_INVALID_OPERATION: Invalid query Id.

    local.html:1 WebGL: too many errors, no more errors will be reported to the console for this context.

    57query.js:8 Uncaught TypeError: Cannot read properties of null (reading 'EndTimeElapsed')

    at WebGLTimeElapsedQuery._EndReal (query.js:8:254)

    at WebGLTimeElapsedQuery.BeginTimeElapsed (query.js:7:137)

    at WebGLBatchJob.DoStartQuery (batchJob.js:22:281)

    at WebGLBatchJob.Run (batchJob.js:32:243)

    at WebGLRenderer._ExecuteBatch (webglRenderer.js:35:172)

    at WebGLRenderer.EndBatch (webglRenderer.js:34:27)

    at WebGLRenderer.Finish (rendererBase.js:36:240)

    at WebGLRenderer.Finish (webglRenderer.js:51:259)

    at C3Runtime.Render (runtime.js:93:486)

    at renderOnly (runtime.js:7:342)

    _EndReal query.js:8

    BeginTimeElapsed query.js:7

    DoStartQuery batchJob.js:22

    Run batchJob.js:32

    _ExecuteBatch webglRenderer.js:35

    EndBatch webglRenderer.js:34

    Finish rendererBase.js:36

    Finish webglRenderer.js:51

    Render runtime.js:93

    renderOnly runtime.js:7

    requestAnimationFrame (async)

    _RequestAnimationFrame runtime.js:73

    Tick runtime.js:80

    tickOnly runtime.js:7

    OnTask miscutil.js:19

    query.js:8 Uncaught TypeError: Cannot read properties of null (reading 'EndTimeElapsed')

    at WebGLTimeElapsedQuery._EndReal (query.js:8:254)

    at WebGLTimeElapsedQuery.BeginTimeElapsed (query.js:7:137)

    at WebGLBatchJob.DoStartQuery (batchJob.js:22:281)

    at WebGLBatchJob.Run (batchJob.js:32:243)

    at WebGLRenderer._ExecuteBatch (webglRenderer.js:35:172)

    at WebGLRenderer.EndBatch (webglRenderer.js:34:27)

    at WebGLRenderer._ExtendQuadBatch (webglRenderer.js:38:519)

    at WebGLRenderer.Quad4 (webglRenderer.js:40:495)

    at SpriteInstance._DrawStandard (runtime.js:10:317)

    at SpriteInstance.Draw (runtime.js:10:159)

    _EndReal query.js:8

    BeginTimeElapsed query.js:7

    DoStartQuery batchJob.js:22

    Run batchJob.js:32

    _ExecuteBatch webglRenderer.js:35

    EndBatch webglRenderer.js:34

    _ExtendQuadBatch webglRenderer.js:38

    Quad4 webglRenderer.js:40

    _DrawStandard runtime.js:10

    Draw runtime.js:10

    Draw instance.js:9

    _DrawInstance layer.js:59

    _DrawInstanceMaybeWithEffects layer.js:58

    _DrawInstances layer.js:52

    Draw layer.js:50

    _DrawLayerList layout.js:46

    Draw layout.js:44

    _Render runtime.js:94

    Render runtime.js:93

    renderOnly runtime.js:7

    requestAnimationFrame (async)

    _RequestAnimationFrame runtime.js:73

    Tick runtime.js:80

    tickOnly runtime.js:7

    OnTask miscutil.js:19

    942query.js:8 Uncaught TypeError: Cannot read properties of null (reading 'EndTimeElapsed')

    at WebGLTimeElapsedQuery._EndReal (query.js:8:254)

    at WebGLTimeElapsedQuery.BeginTimeElapsed (query.js:7:137)

    at WebGLBatchJob.DoStartQuery (batchJob.js:22:281)

    at WebGLBatchJob.Run (batchJob.js:32:243)

    at WebGLRenderer._ExecuteBatch (webglRenderer.js:35:172)

    at WebGLRenderer.EndBatch (webglRenderer.js:34:27)

    at WebGLRenderer.CreateRenderTarget (webglRenderer.js:61:141)

    at CanvasManager.GetAdditionalRenderTarget (canvasManager.js:43:96)

    at C3Runtime.GetAdditionalRenderTarget (runtime.js:50:336)

    at Layout.Draw (layout.js:44:15)

    _EndReal query.js:8

    BeginTimeElapsed query.js:7

    DoStartQuery batchJob.js:22

    Run batchJob.js:32

    _ExecuteBatch webglRenderer.js:35

    EndBatch webglRenderer.js:34

    CreateRenderTarget webglRenderer.js:61

    GetAdditionalRenderTarget canvasManager.js:43

    GetAdditionalRenderTarget runtime.js:50

    Draw layout.js:44

    _Render runtime.js:94

    Render runtime.js:93

    renderOnly runtime.js:7

    requestAnimationFrame (async)

    _RequestAnimationFrame runtime.js:73

    Tick runtime.js:80

    tickOnly runtime.js:7

    OnTask miscutil.js:19

    115query.js:7 Uncaught TypeError: Cannot read properties of null (reading '_GetTimeQueryStack')

    at WebGLTimeElapsedQuery.BeginTimeElapsed (query.js:7:28)

    at WebGLBatchJob.DoStartQuery (batchJob.js:22:281)

    at WebGLBatchJob.Run (batchJob.js:32:243)

    at WebGLRenderer._ExecuteBatch (webglRenderer.js:35:172)

    at WebGLRenderer.EndBatch (webglRenderer.js:34:27)

    at WebGLRenderer.CreateRenderTarget (webglRenderer.js:61:141)

    at CanvasManager.GetAdditionalRenderTarget (canvasManager.js:43:96)

    at C3Runtime.GetAdditionalRenderTarget (runtime.js:50:336)

    at Layout.Draw (layout.js:44:15)

    at C3Runtime._Render (runtime.js:94:312)

    BeginTimeElapsed query.js:7

    DoStartQuery batchJob.js:22

    Run batchJob.js:32

    _ExecuteBatch webglRenderer.js:35

    EndBatch webglRenderer.js:34

    CreateRenderTarget webglRenderer.js:61

    GetAdditionalRenderTarget canvasManager.js:43

    GetAdditionalRenderTarget runtime.js:50

    Draw layout.js:44

    _Render runtime.js:94

    Render runtime.js:93

    renderOnly runtime.js:7

    requestAnimationFrame (async)

    _RequestAnimationFrame runtime.js:73

    Tick runtime.js:80

    tickOnly runtime.js:7

    OnTask miscutil.js:19

    query.js:7 Uncaught (in promise) TypeError: Cannot read properties of null (reading '_GetTimeQueryStack')

    at WebGLTimeElapsedQuery.BeginTimeElapsed (query.js:7:28)

    at WebGLBatchJob.DoStartQuery (batchJob.js:22:281)

    at WebGLBatchJob.Run (batchJob.js:32:243)

    at WebGLRenderer._ExecuteBatch (webglRenderer.js:35:172)

    at WebGLRenderer.EndBatch (webglRenderer.js:34:27)

    at WebGLRenderer.DeleteTexture (webglRenderer.js:60:6)

    at ImageAsset.ReleaseTexture (imageAsset.js:4:449)

    at ImageInfo.ReleaseTexture (imageInfo.js:8:100)

    at AnimationInfo.ReleaseAllTextures (animationInfo.js:3:119)

    at SpriteType.ReleaseTextures (runtime.js:2:530)

    BeginTimeElapsed query.js:7

    DoStartQuery batchJob.js:22

    Run batchJob.js:32

    _ExecuteBatch webglRenderer.js:35

    EndBatch webglRenderer.js:34

    DeleteTexture webglRenderer.js:60

    ReleaseTexture imageAsset.js:4

    ReleaseTexture imageInfo.js:8

    ReleaseAllTextures animationInfo.js:3

    ReleaseTextures runtime.js:2

    ReleaseTextures objectClass.js:15

    _Unload layout.js:25

    _DoChangeLayout runtime.js:89

    await in _DoChangeLayout (async)

    tickOnly runtime.js:7

    OnTask miscutil.js:19

    runtime.js:94 Uncaught TypeError: Cannot read properties of null (reading 'Draw')

    at C3Runtime._Render (runtime.js:94:312)

    at C3Runtime.Render (runtime.js:93:277)

    at renderOnly (runtime.js:7:342)

  • The draw function doesn't seem to exist where it should.

    Need to do some more searching, if you open this project in an incognito tab or remove all browser extensions is this still happening?

    Can you reproduce the error in a new project and make it as small as possible?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The draw function doesn't seem to exist where it should.

    Need to do some more searching, if you open this project in an incognito tab or remove all browser extensions is this still happening?

    Can you reproduce the error in a new project and make it as small as possible?

    no

  • I even have this problem when exporting to "nj" this and check

  • It's strange but on another computer (weaker) there is no such problem

  • I even have this problem when exporting to "nj" this and check

    Sorry, I'm not following what you mean. NWjs? and what is checked?

    If you get different results with the same project on differente computers in an NWjs export then it could be a drivers issuse.

    Is the error happening when running in preview in Construct 3, did not get what what question "No" was refering to?

  • > I even have this problem when exporting to "nj" this and check

    Sorry, I'm not following what you mean. NWjs? and what is checked?

    If you get different results with the same project on differente computers in an NWjs export then it could be a drivers issuse.

    Is the error happening when running in preview in Construct 3, did not get what what question "No" was refering to?

    on different computers different results and even preview. The test project on the older computer works fine, while on the new one it freezes on both export and preview. It looks like you're right that it's something with the computer. Thank you

    and I answered with the word "no" to the proposal to create a new project and reproduce this freeze but I'm not sure if I can do it

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