Jump to content

landscape lmap file disappears


photo
Go to solution Solved by ipakseev,

Recommended Posts

Posted (edited)

Hi, I'm new to the unigine (liking it so far!) but I have run into one problem that I can't seem to figure out. When I import certain large heightmaps, the lmap asset gets deleted upon completion of the import process, for some unknown reason. It just disappears from the asset browser. Am I running into some sort of file size or system resource limitation? It's a 352mb geotiff heightmap (15457x11947 pixels, epsg:3857 at 30 meter resolution, int16 data type).

The relevant log file snippet is below:

13:02:02 C:/Projects/UNIGINE Projects/test_project/data/Terrain/georgia.lmap (5.7GB): import started...
13:40:31 C:/Projects/UNIGINE Projects/test_project/data/Terrain/georgia.lmap: import finished in 38.488442 minutes
13:40:49 ERROR:	LandscapeMapFile::fileOpenRead() can't open "guid://137d01f5d6e0a4b42def0e07c5b723d343b12323" file

 

PC specs:
Core i5-11500
16gb RAM
1TB nvme SSD
RTX 3060

Thanks for any help you can provide!

Edited by MindV0odoo
Posted

I tried importing the heightmap again and ran into the same issue. But this time I recorded my screen as it happened. Keep in mind all I did was left-click my mouse on the asset, but this seems to happen if I interact with the editor in any way.

https://streamable.com/8cdqx7

This screen grab is the juicy bit. Why is it removing the lmap file?
image.png.dca138a2d16306bd022aaaa4807250f7.png

  • Solution
Posted

Hello, MindV0odoo!

Unfortunately, the video at the link is not available to watch at this time.

I suppose that your problem may be related to limited disk space on your PC. The default Terrain Compression Cache saves to C:/Users/<User_Name>/AppData/Local/Unigine/Editor/cache. If you don't have enough free space, your lmap will be deleted after reimport/import. It's known issue. 

Could you try changing this path to a path with more free space please? This param located in Settings → Editor → Terrain Compression Cache.

Posted

Just an update to this... I freed up some space on the drive (there is around ~170gb free now). I seem to have narrowed down the problem to when external terrain files are re-imported. If I create a new lmap, everything works fine. But when I re-import data for an existing lmap, the file gets deleted when the import finishes.

Posted

Hello, MindV0odoo!

Could you please attach your lmap so we can also test them?

Thanks!

Posted

You don't have to send your lmap because we were able to reproduce your case. We're trying to find a workaround now.

Posted

We found а workaround. This bug is related with buffer not with disk space. You can do the following steps:
1) After running the reimport, change the focus to another window
2) When the reimport complets, close the Editor via Task Manager
3) Start the Editor again
Because if you go back to the Editor, your lmap will be deleted. 

I hope this workaround will help you. We'll fix this bug in version 2.18

Thanks!

Posted

That's great! Thank you for investigating this issue so promptly.

  • Like 1
  • 2 weeks later...
Posted

I also ran into this same problem when creating terrains, and used the given solution to get around it, thanks!  Looking forward to version 2.18!

  • Like 2
  • 3 months later...
Posted

Just a follow-up to anyone who might experience this bug... I tested now in 2.18 and can confirm it is indeed fixed.  Thanks!

  • Like 1
×
×
  • Create New...