Crash UE5.2

Hello, I would like to ask for your help, I recently created a fun configurator project to allow customers to view a range of products (one product = one level) under different configurations, the internal work in the application is happening well, however when I click on play, and I click to change level (onclicked open level), well Unreal crashes, and I get this as an error code;

LoginId:0fd9f2594c9cfd087fc37595f1aaf9ea
EpicAccountId:2f784859d2fd4249869c620c0bfb45f8

Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x0000000000000008

UnrealEditor_VariantManagerContent
UnrealEditor_VariantManagerContent
UnrealEditor_VariantManagerContent
UnrealEditor_VariantManagerContent
UnrealEditor_VariantManagerContent
UnrealEditor_VariantManagerContent
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_UMG
UnrealEditor_UMG
UnrealEditor_UMG
UnrealEditor_UMG
UnrealEditor_UMG
UnrealEditor_UMG
UnrealEditor_UMG
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
kernel32
ntdll

I was getting this error with the product configurator template, so I recreated a new project from bare blank base, but the error is the same
An idea of ​​the problem ?

Thank you!
Nicolas

Show your code… you have a null pointer there

thanks for your response,

here is my widget code for change level ;

when I do not configure a variant set the change of level works very well, but as soon as I add variants, the problem occurs

Check this:

same error, nothing in my log but UE crash, but i have package my project for testing the .exe file, and it works without problem (strangely)

Yes it’s strange

i know you have an invalid pointer somewhere… the problem is find it…

Maybe the null pointer is elsewhere in the code.

Did you check that all is correct in the Variant Manager?

Maybe you have a empty content?

i have recreate two variant set (one per level), just one variante per model for testing, I was able to change levels 7 or 8 times, and then by repeating the problem came back, so in theory nothing was missing in the variant set, since it is clear to differentiate from one level to another

There is a possibility that the system has a bug (that wouldn’t be something strange)… in that case I wouldn’t use it until Epic fixes it. If so, maybe you should report it.

Thank you for your time, I will try to get around the problem and move forward with my project

1 Like

It is ok…
If you find the solution post it here.
It can help to others.