I’m building an inventory system and naturally need to use a struct. However, while trying to add a variable to it normally, I added it, changed its name, pressed enter, but the editor froze. I closed and restarted the editor. When I tried to change the variable name again, it gave an error. I opened it again, and this time I was able to change the variable name and data type. However, when I tried to save all, it gave an error. I asked ChatGPT for help. They offered a few solutions, but none worked. Finally, they suggested creating a new struct and replacing the existing structs with the new one. I did that. It worked fine for about two hours, but then when I tried to add another variable to the struct, the same error started again. What could be the solution? I’m including the current error code below; maybe it will help.
Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0xffffffffffffffff
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_Kismet
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_Kismet
UnrealEditor_Kismet
UnrealEditor_Kismet
UnrealEditor_UnrealEd
UnrealEditor_KismetCompiler
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_KismetCompiler
UnrealEditor_KismetCompiler
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_Kismet
UnrealEditor_Kismet
UnrealEditor_KismetWidgets
UnrealEditor_KismetWidgets
UnrealEditor_KismetWidgets
UnrealEditor_KismetWidgets
UnrealEditor_KismetWidgets
UnrealEditor_KismetWidgets
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
user32
user32
UnrealEditor_ApplicationCore
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
kernel32
ntdll