HL2UE4AssetImporter icon indicating copy to clipboard operation
HL2UE4AssetImporter copied to clipboard

Fixed nullptr error when loading map

Open nohenry opened this issue 2 years ago • 2 comments

When I tried loading a BSP file the engine would crash from an assert with the value being null. I just changed the use of an operator overload to the function and it worked.

nohenry avatar Jul 22 '22 19:07 nohenry

Out of curiosity, which map did you try to load? It seems to have an older static prop format than ones I'm using for testing.

thomasfn avatar Jul 24 '22 20:07 thomasfn

Out of curiosity, which map did you try to load? It seems to have an older static prop format than ones I'm using for testing.

I was actually trying to load maps from portal 1 and none of them were able to load at all without crashing halfway through importing. I’m not sure how this hasn’t been a problem before since the [] operator will segfault if the value doesn’t exist.

nohenry avatar Jul 27 '22 23:07 nohenry