WebGL Rendering Issue with Remote Preview

0 favourites
  • 2 posts
  • Hi, I've got a multiplayer project I've been working on for a while, but recently I've been having intermittent issues with remote previewing it. When I first load the remote preview in two windows, it mostly loads fine, but after a few reloads, one of the windows bugs out and seems to take down the WebGL renderer with it.

    I've got the below from the console on the window that crashed.

    This never used to happen, but I have made quite a few changes to the project recently, so not sure if it's an issue with my code or something else as I'm also still quite new to Construct. The other thing is that I was previously working on this project on a laptop, but I am now on a desktop with a GTX 1660ti GPU, running dual screens. Although, I'm pretty certain it was running fine on this desktop until recently.

    WebGL: CONTEXT_LOST_WEBGL: loseContext: context lost

    canvasManager.js:25 [Construct 3] WebGL context lost

    runtime.js:61 [Construct 3] Suspending

    /#c9vp73rh:1 WebGL: CONTEXT_LOST_WEBGL: loseContext: context lost

    11imageAsset.js:3 Failed to load texture: Error: context lost

    at WebGLRenderer.CreateStaticTexture (webglRenderer.js:67)

    at Object.func (webglRenderer.js:68)

    at DoNextAsyncifiedJob (asyncify.js:3)

    at DoAsyncifiedWork (asyncify.js:2)

    (anonymous) imageAsset.js:3

    Promise.catch (async)

    LoadStaticTexture imageAsset.js:3

    LoadStaticTexture imageInfo.js:5

    (anonymous) animationInfo.js:2

    LoadAllTextures animationInfo.js:2

    (anonymous) type.js:1

    LoadTextures type.js:1

    LoadTextures objectClass.js:13

    MaybeLoadTexturesFor layout.js:10

    CreateInstanceFromData runtime.js:44

    CreateInstance runtime.js:42

    CreateObject actions.js:2

    _RunSystem action.js:14

    _RunActions_Fast eventBlock.js:25

    Retrigger eventBlock.js:32

    _Repeat plugin.js:6

    Repeat conditions.js:15

    RunSingleCnd_1param condition.js:7

    _RunAndBlock eventBlock.js:23

    Run eventBlock.js:20

    _RunSubEvents_SolWriterAfterCnds eventBlock.js:29

    _RunSubEvents eventBlock.js:28

    _RunAndBlock eventBlock.js:23

    Run eventBlock.js:20

    _RunSubEvents_SolWriterAfterCnds eventBlock.js:29

    _RunSubEvents eventBlock.js:28

    _RunAndBlock eventBlock.js:23

    Run eventBlock.js:20

    _ExecuteTrigger eventSheet.js:18

    _TriggerForClass eventSheet.js:12

    _Trigger eventSheet.js:11

    _Trigger eventSheetManager.js:13

    Trigger runtime.js:79

    TriggerAsync runtime.js:80

    TriggerAsync sdkInstanceBase.js:3

    _TriggerComplete instance.js:2

    async function (async)

    _TriggerComplete instance.js:2

    request.onreadystatechange instance.js:6

    XMLHttpRequest.send (async)

    (anonymous) instance.js:8

    _DoRequest instance.js:5

    RequestFile actions.js:2

    _RunActions_ReturnValue eventBlock.js:26

    _RunAndBlock eventBlock.js:23

    Run eventBlock.js:20

    _ExecuteTrigger eventSheet.js:18

    _TriggerForClass eventSheet.js:12

    _Trigger eventSheet.js:11

    _Trigger eventSheetManager.js:13

    Trigger runtime.js:79

    TriggerAsync runtime.js:80

    _StartRunning layout.js:15

    async function (async)

    _StartRunning layout.js:14

    _DoChangeLayout runtime.js:76

    async function (async)

    _DoChangeLayout runtime.js:75

    _MaybeChangeLayout runtime.js:73

    Tick runtime.js:66

    async function (async)

    Tick runtime.js:66

    normal runtime.js:6

    (anonymous) miscutil.js:18

    async function (async)

    (anonymous) miscutil.js:18

    requestAnimationFrame (async)

    RequestPostAnimationFrame miscutil.js:18

    _RequestAnimationFrame runtime.js:59

    Tick runtime.js:66

    async function (async)

    Tick runtime.js:66

    normal runtime.js:6

    (anonymous) miscutil.js:18

    async function (async)

    (anonymous) miscutil.js:18

    requestAnimationFrame (async)

    RequestPostAnimationFrame miscutil.js:18

    _RequestAnimationFrame runtime.js:59

    Tick runtime.js:66

    async function (async)

    Tick runtime.js:66

    normal runtime.js:6

    (anonymous) miscutil.js:18

    async function (async)

    (anonymous) miscutil.js:18

    requestAnimationFrame (async)

    RequestPostAnimationFrame miscutil.js:18

    _RequestAnimationFrame runtime.js:59

    Tick runtime.js:66

    async function (async)

    Tick runtime.js:66

    normal runtime.js:6

    (anonymous) miscutil.js:18

    async function (async)

    (anonymous) miscutil.js:18

    requestAnimationFrame (async)

    RequestPostAnimationFrame miscutil.js:18

    _RequestAnimationFrame runtime.js:59

    Tick runtime.js:66

    async function (async)

    Tick runtime.js:66

    normal runtime.js:6

    (anonymous) miscutil.js:18

    async function (async)

    (anonymous) miscutil.js:18

    requestAnimationFrame (async)

    RequestPostAnimationFrame miscutil.js:18

    _RequestAnimationFrame runtime.js:59

    Tick runtime.js:66

    async function (async)

    Tick runtime.js:66

    normal runtime.js:6

    (anonymous) miscutil.js:18

    async function (async)

    (anonymous) miscutil.js:18

    requestAnimationFrame (async)

    RequestPostAnimationFrame miscutil.js:18

    _RequestAnimationFrame runtime.js:59

    Tick runtime.js:66

    async function (async)

    Tick runtime.js:66

    normal runtime.js:6

    (anonymous) miscutil.js:18

    async function (async)

    (anonymous) miscutil.js:18

    requestAnimationFrame (async)

    RequestPostAnimationFrame miscutil.js:18

    _RequestAnimationFrame runtime.js:59

    Tick runtime.js:66

    async function (async)

    Tick runtime.js:66

    normal runtime.js:6

    (anonymous) miscutil.js:18

    async function (async)

    (anonymous) miscutil.js:18

    requestAnimationFrame (async)

    RequestPostAnimationFrame miscutil.js:18

    _RequestAnimationFrame runtime.js:59

    Tick runtime.js:66

    async function (async)

    Tick runtime.js:66

    normal runtime.js:6

    (anonymous) miscutil.js:18

    async function (async)

    (anonymous) miscutil.js:18

    requestAnimationFrame (async)

    RequestPostAnimationFrame miscutil.js:18

    _RequestAnimationFrame runtime.js:59

    Tick runtime.js:66

    Show 6 more frames

    36imageAsset.js:3 Failed to load texture: context lost

    (anonymous) imageAsset.js:3

    Promise.catch (async)

    LoadStaticTexture imageAsset.js:3

    LoadStaticTexture imageInfo.js:5

    (anonymous) animationInfo.js:2

    LoadAllTextures animationInfo.js:2

    (anonymous) type.js:1

    LoadTextures type.js:1

    LoadTextures objectClass.js:13

    MaybeLoadTexturesFor layout.js:10

    CreateInstanceFromData runtime.js:44

    CreateInstance runtime.js:42

    CreateObject actions.js:2

    _RunSystem action.js:14

    _RunActions_Fast eventBlock.js:25

    Retrigger eventBlock.js:32

    _Repeat plugin.js:6

    Repeat conditions.js:15

    RunSingleCnd_1param condition.js:7

    _RunAndBlock eventBlock.js:23

    Run eventBlock.js:20

    _RunSubEvents_SolWriterAfterCnds eventBlock.js:29

    _RunSubEvents eventBlock.js:28

    _RunAndBlock eventBlock.js:23

    Run eventBlock.js:20

    _RunSubEvents_SolWriterAfterCnds eventBlock.js:29

    _RunSubEvents eventBlock.js:28

    _RunAndBlock eventBlock.js:23

    Run eventBlock.js:20

    _ExecuteTrigger eventSheet.js:18

    _TriggerForClass eventSheet.js:12

    _Trigger eventSheet.js:11

    _Trigger eventSheetManager.js:13

    Trigger runtime.js:79

    TriggerAsync runtime.js:80

    TriggerAsync sdkInstanceBase.js:3

    _TriggerComplete instance.js:2

    async function (async)

    _TriggerComplete instance.js:2

    request.onreadystatechange instance.js:6

    XMLHttpRequest.send (async)

    (anonymous) instance.js:8

    _DoRequest instance.js:5

    RequestFile actions.js:2

    _RunActions_ReturnValue eventBlock.js:26

    _RunAndBlock eventBlock.js:23

    Run eventBlock.js:20

    _ExecuteTrigger eventSheet.js:18

    _TriggerForClass eventSheet.js:12

    _Trigger eventSheet.js:11

    _Trigger eventSheetManager.js:13

    Trigger runtime.js:79

    TriggerAsync runtime.js:80

    _StartRunning layout.js:15

    async function (async)

    _StartRunning layout.js:14

    _DoChangeLayout runtime.js:76

    async function (async)

    _DoChangeLayout runtime.js:75

    _MaybeChangeLayout runtime.js:73

    Tick runtime.js:66

    async function (async)

    Tick runtime.js:66

    normal runtime.js:6

    (anonymous) miscutil.js:18

    async function (async)

    (anonymous) miscutil.js:18

    requestAnimationFrame (async)

    RequestPostAnimationFrame miscutil.js:18

    _RequestAnimationFrame runtime.js:59

    Tick runtime.js:66

    async function (async)

    Tick runtime.js:66

    normal runtime.js:6

    (anonymous) miscutil.js:18

    async function (async)

    (anonymous) miscutil.js:18

    requestAnimationFrame (async)

    RequestPostAnimationFrame miscutil.js:18

    _RequestAnimationFrame runtime.js:59

    Tick runtime.js:66

    async function (async)

    Tick runtime.js:66

    normal runtime.js:6

    (anonymous) miscutil.js:18

    async function (async)

    (anonymous) miscutil.js:18

    requestAnimationFrame (async)

    RequestPostAnimationFrame miscutil.js:18

    _RequestAnimationFrame runtime.js:59

    Tick runtime.js:66

    async function (async)

    Tick runtime.js:66

    normal runtime.js:6

    (anonymous) miscutil.js:18

    async function (async)

    (anonymous) miscutil.js:18

    requestAnimationFrame (async)

    RequestPostAnimationFrame miscutil.js:18

    _RequestAnimationFrame runtime.js:59

    Tick runtime.js:66

    async function (async)

    Tick runtime.js:66

    normal runtime.js:6

    (anonymous) miscutil.js:18

    async function (async)

    (anonymous) miscutil.js:18

    requestAnimationFrame (async)

    RequestPostAnimationFrame miscutil.js:18

    _RequestAnimationFrame runtime.js:59

    Tick runtime.js:66

    async function (async)

    Tick runtime.js:66

    normal runtime.js:6

    (anonymous) miscutil.js:18

    async function (async)

    (anonymous) miscutil.js:18

    requestAnimationFrame (async)

    RequestPostAnimationFrame miscutil.js:18

    _RequestAnimationFrame runtime.js:59

    Tick runtime.js:66

    async function (async)

    Tick runtime.js:66

    normal runtime.js:6

    (anonymous) miscutil.js:18

    async function (async)

    (anonymous) miscutil.js:18

    requestAnimationFrame (async)

    RequestPostAnimationFrame miscutil.js:18

    _RequestAnimationFrame runtime.js:59

    Tick runtime.js:66

    async function (async)

    Tick runtime.js:66

    normal runtime.js:6

    (anonymous) miscutil.js:18

    async function (async)

    (anonymous) miscutil.js:18

    requestAnimationFrame (async)

    RequestPostAnimationFrame miscutil.js:18

    _RequestAnimationFrame runtime.js:59

    Tick runtime.js:66

    async function (async)

    Tick runtime.js:66

    normal runtime.js:6

    (anonymous) miscutil.js:18

    async function (async)

    (anonymous) miscutil.js:18

    requestAnimationFrame (async)

    RequestPostAnimationFrame miscutil.js:18

    _RequestAnimationFrame runtime.js:59

    Tick runtime.js:66

    Show 6 more frames

    layout.js:10 Uncaught (in promise) Error: context lost

    at WebGLRenderer.CreateStaticTexture (webglRenderer.js:67)

    at Object.func (webglRenderer.js:68)

    at DoNextAsyncifiedJob (asyncify.js:3)

    at DoAsyncifiedWork (asyncify.js:2)

    CreateStaticTexture webglRenderer.js:67

    (anonymous) webglRenderer.js:68

    DoNextAsyncifiedJob asyncify.js:3

    DoAsyncifiedWork asyncify.js:2

    async function (async)

    MaybeLoadTexturesFor layout.js:10

    CreateInstanceFromData runtime.js:44

    CreateInstance runtime.js:42

    CreateObject actions.js:2

    _RunSystem action.js:14

    _RunActions_Fast eventBlock.js:25

    Retrigger eventBlock.js:32

    _Repeat plugin.js:6

    Repeat conditions.js:15

    RunSingleCnd_1param condition.js:7

    _RunAndBlock eventBlock.js:23

    Run eventBlock.js:20

    _RunSubEvents_SolWriterAfterCnds eventBlock.js:29

    _RunSubEvents eventBlock.js:28

    _RunAndBlock eventBlock.js:23

    Run eventBlock.js:20

    _RunSubEvents_SolWriterAfterCnds eventBlock.js:29

    _RunSubEvents eventBlock.js:28

    _RunAndBlock eventBlock.js:23

    Run eventBlock.js:20

    _ExecuteTrigger eventSheet.js:18

    _TriggerForClass eventSheet.js:12

    _Trigger eventSheet.js:11

    _Trigger eventSheetManager.js:13

    Trigger runtime.js:79

    TriggerAsync runtime.js:80

    TriggerAsync sdkInstanceBase.js:3

    _TriggerComplete instance.js:2

    async function (async)

    _TriggerComplete instance.js:2

    request.onreadystatechange instance.js:6

    XMLHttpRequest.send (async)

    (anonymous) instance.js:8

    _DoRequest instance.js:5

    RequestFile actions.js:2

    _RunActions_ReturnValue eventBlock.js:26

    _RunAndBlock eventBlock.js:23

    Run eventBlock.js:20

    _ExecuteTrigger eventSheet.js:18

    _TriggerForClass eventSheet.js:12

    _Trigger eventSheet.js:11

    _Trigger eventSheetManager.js:13

    Trigger runtime.js:79

    TriggerAsync runtime.js:80

    _StartRunning layout.js:15

    async function (async)

    _StartRunning layout.js:14

    _DoChangeLayout runtime.js:76

    async function (async)

    _DoChangeLayout runtime.js:75

    _MaybeChangeLayout runtime.js:73

    Tick runtime.js:66

    async function (async)

    Tick runtime.js:66

    normal runtime.js:6

    (anonymous) miscutil.js:18

    async function (async)

    (anonymous) miscutil.js:18

    requestAnimationFrame (async)

    RequestPostAnimationFrame miscutil.js:18

    _RequestAnimationFrame runtime.js:59

    Tick runtime.js:66

    async function (async)

    Tick runtime.js:66

    normal runtime.js:6

    (anonymous) miscutil.js:18

    async function (async)

    (anonymous) miscutil.js:18

    requestAnimationFrame (async)

    RequestPostAnimationFrame miscutil.js:18

    _RequestAnimationFrame runtime.js:59

    Tick runtime.js:66

    async function (async)

    Tick runtime.js:66

    normal runtime.js:6

    (anonymous) miscutil.js:18

    async function (async)

    (anonymous) miscutil.js:18

    requestAnimationFrame (async)

    RequestPostAnimationFrame miscutil.js:18

    _RequestAnimationFrame runtime.js:59

    Tick runtime.js:66

    async function (async)

    Tick runtime.js:66

    normal runtime.js:6

    (anonymous) miscutil.js:18

    async function (async)

    (anonymous) miscutil.js:18

    requestAnimationFrame (async)

    RequestPostAnimationFrame miscutil.js:18

    _RequestAnimationFrame runtime.js:59

    Tick runtime.js:66

    async function (async)

    Tick runtime.js:66

    normal runtime.js:6

    (anonymous) miscutil.js:18

    async function (async)

    (anonymous) miscutil.js:18

    requestAnimationFrame (async)

    RequestPostAnimationFrame miscutil.js:18

    _RequestAnimationFrame runtime.js:59

    Tick runtime.js:66

    async function (async)

    Tick runtime.js:66

    normal runtime.js:6

    (anonymous) miscutil.js:18

    async function (async)

    (anonymous) miscutil.js:18

    requestAnimationFrame (async)

    RequestPostAnimationFrame miscutil.js:18

    _RequestAnimationFrame runtime.js:59

    Tick runtime.js:66

    async function (async)

    Tick runtime.js:66

    normal runtime.js:6

    (anonymous) miscutil.js:18

    async function (async)

    (anonymous) miscutil.js:18

    requestAnimationFrame (async)

    RequestPostAnimationFrame miscutil.js:18

    _RequestAnimationFrame runtime.js:59

    Tick runtime.js:66

    async function (async)

    Tick runtime.js:66

    normal runtime.js:6

    (anonymous) miscutil.js:18

    async function (async)

    (anonymous) miscutil.js:18

    requestAnimationFrame (async)

    RequestPostAnimationFrame miscutil.js:18

    _RequestAnimationFrame runtime.js:59

    Tick runtime.js:66

    async function (async)

    Tick runtime.js:66

    normal runtime.js:6

    (anonymous) miscutil.js:18

    async function (async)

    (anonymous) miscutil.js:18

    requestAnimationFrame (async)

    RequestPostAnimationFrame miscutil.js:18

    _RequestAnimationFrame runtime.js:59

    Tick runtime.js:66

    imageAsset.js:3 Failed to load texture: Error: context lost

    at WebGLRenderer.CreateStaticTexture (webglRenderer.js:67)

    at Object.func (webglRenderer.js:68)

    at DoNextAsyncifiedJob (asyncify.js:3)

    at DoAsyncifiedWork (asyncify.js:2)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hey, m4nbarep1g!

    I am not sure if you ever made to figure out this problem, but since I am having the same problem with OutofContext stuff on my cellphone, I've seen this link in a research and hope to help you:

    construct.net/en/forum/construct-3/general-discussion-7/anyone-getting-webgl-fail-hr-138544

    If you make any progress on it I'll be glad to know.

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