TomaszFurca Posted October 8, 2018 Share Posted October 8, 2018 Hi, last time i post three bugs. Today i want to start with develop next features to my game. Begin from update babylon to latest version. On stable version my game works, but on 4.0 alpha i got error after load scene. Stack trace: babylon.max.js:7723 Uncaught TypeError: Cannot read property 'm' of undefined at Matrix.multiplyToRef (babylon.max.js:7723) at Mesh.TransformNode.computeWorldMatrix (babylon.max.js:20641) at Scene._evaluateActiveMeshes (babylon.max.js:28963) at Scene._renderForCamera (babylon.max.js:29064) at Scene._processSubCameras (babylon.max.js:29146) at Scene.render (babylon.max.js:29344) Quote Link to comment Share on other sites More sharing options...
Guest Posted October 8, 2018 Share Posted October 8, 2018 I will need a repro to help Quote Link to comment Share on other sites More sharing options...
TomaszFurca Posted October 8, 2018 Author Share Posted October 8, 2018 Unfortunately i can't reproduce that on PG that, because it no happen there. It only stop working when i run my game on 4+ version. How can i help you to debug that? Just found what generate this error: This is bone of player mesh skeleton and cannot find that: if (this._transformToBoneReferal) { this._localWorld.multiplyToRef(this.parent.getWorldMatrix(), BABYLON.Tmp.Matrix[6]); BABYLON.Tmp.Matrix[6].multiplyToRef(this._transformToBoneReferal.getWorldMatrix(), this._worldMatrix); } BABYLON.Tmp.Matrix[6] is undefined Quote Link to comment Share on other sites More sharing options...
Guest Posted October 8, 2018 Share Posted October 8, 2018 Yep there is 6 matrices so the last one is 5 (I will add 2 more for you so 6 will work :)) Quote Link to comment Share on other sites More sharing options...
TomaszFurca Posted October 9, 2018 Author Share Posted October 9, 2018 Thanks it works now! GameMonetize 1 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.