YanisThePie Posted June 12, 2018 Share Posted June 12, 2018 Hi, I tried to export my Unity project, following the "project setup" official guide here : http://doc.babylonjs.com/resources/projects. I have got lightmaps on my textures that seems to break when I run the project with babylon.js as you can see : Furthermore, when I try to interact with my game, nothing happens, the game is just stuck on the initial view. The only issue that I've got from Unity during the export is "Material doesn't have a texture property '_MainTex'" as you can see here : Did I do something wrong? It seems to be a Shader issue. Are the Unity lightmaps supposed to be supported? Thanks! Quote Link to comment Share on other sites More sharing options...
Guest Posted June 12, 2018 Share Posted June 12, 2018 Pinging @MackeyK24 Quote Link to comment Share on other sites More sharing options...
MackeyK24 Posted June 12, 2018 Share Posted June 12, 2018 Yes light maps are supported, check the unity documentation regarded the setup... also... you can actually see the light maps unity generates via the global maps panel on the light setting window... your material is is breaking the dump, your scene is probably not exported correctly. if you package up the scene in a unity package I’ll take a look at it... remember the toolkit is designed to use to put together your games using a editor. It is not a magic unity game port. There is no telling what unity stuff is setup on that scene. 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.