KarelAnker Posted November 21, 2015 Share Posted November 21, 2015 Not sure if it's a bug I created or something... Anyways, whenever you start the BabylonJS debugger, and go to the Generals tab and tick Clickable labels, it outputs this error:"Uncaught TypeError: Cannot read property 'getViewMatrix' of undefined" on line 27344 (development version of Babylon, .max version), which is this line:_this._camera.getViewMatrix().multiplyToRef(_this._camera.getProjectionMatrix(), _this._transformationMatrix);I guess the _camera variable doesn't exist. Like I said I'm not sure if I caused the problem, as some examples show them working correctly, but I can't seem to have it working in my game Quote Link to comment Share on other sites More sharing options...
Temechon Posted November 21, 2015 Share Posted November 21, 2015 Hello, Do you have some code to share, or some precisions to help us ? Do you initialize the debugger before creating a camera ? Or maybe you have multiple camera ? Thanks Edit: After seing Babylon code, it seems your are trying to create the debugger before creating a first camera. Can you confirm that please ? If so, could you try to init the debug layer after the camera creation ? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.