Vousk-prod. Posted December 2, 2016 Share Posted December 2, 2016 Hi! The onError callback in BABYLON.Texture constructor is not called when the image file is not found. Is it the expected behavior ? What case the onError is for ? How to catch the fact the file is not found ? http://www.babylonjs-playground.com/#21ZZJB Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted December 2, 2016 Share Posted December 2, 2016 This is because the fallbacktexture is on: http://www.babylonjs-playground.com/#21ZZJB#1 Quote Link to comment Share on other sites More sharing options...
Vousk-prod. Posted December 4, 2016 Author Share Posted December 4, 2016 Hmm, didn't know that : BABYLON.Tools.UseFallbackTexture = false; Nice. Thanks. 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.