[SOLVED] WebXR update - error message

just a quick question concerning new webXR - i now get the error:

Uncaught ReferenceError: this hasn’t been initialised - super() hasn’t been called
at _assertThisInitialized (playcanvas-stable.dbg.js:1521)
at new VrManager (playcanvas-stable.dbg.js:33676)
at Application.enableVr (playcanvas-stable.dbg.js:62246)
at webvr-polyfill-init.js?id=39033929&branchId=2285d95b-fa3a-496f-b6d5-1d654e24f2ef:18

while it sounds kinda cool that super() hasn’t been called i have no clue what it means. is there a quick fix for this or would it be better to update the whole XR part based on the latest pc webxr demo?

Thanks for reporting this, it’s a bug in the engine. The fix is here:


Sorry about this @rtz23!


thanks for the help. in the meantime i was considering it to be my fault. was worried about flooding the forum with stupid threads…


no worries.

1 Like