Jump to content

Assert Failed on Map Load


htharker1
 Share

Go to solution Solved by Josh,

Recommended Posts

After modifying geometry via vertex manipulation, maps no longer load, simply displaying "Assert Failed" and crashing to desktop.

I've been able to reproduce this error in its most basic form, however to fix it would require manually finding the offending brush in a text editor and removing it, but on a larger map that is nearly impossible to pinpoint.

To reproduce, create a box, use face manipulation to move one side of the box up or down, then modify one of the corners with the vertex tool, then try to duplicate the box.

Please see attached, hoping there's an easy fix for this otherwise I'll lose a lot of progress!

map_crash_test.rar

Link to comment
Share on other sites

  • Solution

Thanks for reporting this issue. :)

This was caused by a brush optimization step that was skipping vertices if one already exists within a certain distance. The maps will load correctly in the next build on the beta branch.

Can you tell me what the RTN file is? Is this a file you opened in a text editor and resaved? It does not appear to contain a valid JSON structure.

  • Upvote 1

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

So basically the RTN file was my first initial map. I tried to get rid of the offending geometry via text editing but in doing so I must have basically destroyed the JSON structure, so I'll have to restart anyway.

Thanks for the fix, works like a charm!

Link to comment
Share on other sites

Ultra map files consist of a null-terminated string that forms a JSON structure, followed by binary data. They can be read but cannot be edited without splitting the text and binary data apart and then re-merging them.

I considered using a separate .bin file like glTF does, but from what I have seen that causes more prob;ems than it solves.

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...