neale.murray Posted November 5, 2018 Posted November 5, 2018 (edited) Hey Team, Im attempting to upgrade the terrain from Unigine 2.5 to 2.7.2 as a test to see what performance gains we might gain but currently it's failing for me with no real obvious errors when I try to convert them all at once. All I see in the console is "13:45:16 Migration::migrate(): terrains must contain the same number of layers and the same layer names" Some terrain tiles contain a single "ObjectGrass" and some contain multiple and some terrain tiles contain a "WorldClutter" and some do not. I have tried to name all the terrain tile object to be just the name "Terrain" and giving them all the same number of grass objects and clutter objects (using the same mask image) but I still get the same error in the console. And the terrain tiles have a varying number and type of Terrain mask images. I'm not sure what objects need to be the same name what doesn't? The only other thing I can think of is that these terrain tiles wont make up a complete square/rectangular shape (not sure of GlobalTerrain support this or not) as we only built the terrain tiles we are required to help with performance. Is there any way for Unigine to expand on this error? Edited November 5, 2018 by neale.murray Up pdated image
silent Posted November 6, 2018 Posted November 6, 2018 Hi Neale, The issue more likely not related to the other nodes that you have in hierarchy, rather than with ObjectTerrain itself. Old ObjectTerrain has issues with materials (details / layers) that basically can make the details hierarchy invalid (for example, you can easily create a detail that have simultaneously 2 parents). To be able to say what exactly is going on in your case we would need to see the project itself (with all the terrains at least). Have you also tried to multiselect all the terrain objects and do a single migration? Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
neale.murray Posted November 7, 2018 Author Posted November 7, 2018 Yep deleting all the individual terrain detail mask's allowed them all to be combined at once. Now I'm going to try to re-import them :)
Recommended Posts