Using UE 5.2.
I’m having a really weird issue. If I remove the “Spawn Card To Hand” function, pictured below, or attempt to call it again inside this specific actor, the editor crashes on startup, giving an error, also shown below. I have also noticed that removing it from other places in the blueprint will also cause a crash on startup. This function is called by other actors and removing the function or calling it again from them doesn’t cause this, as far as I’m aware, though I haven’t tested every possible combination of adding and removing. I recently had an issue with my project not cooking correctly which I managed to track down to being an issue with a structure inside another structure (the Card Data structure included a second structure for Card Visual Data). This function that is causing the crash has an input which is another structure that includes that Card Data structure, which by extension includes the Card Visual Data structure. My assumption is that these collection of structures have become unstable somehow, but I’m not sure how to resolve this as they’re used in tons of places across the project. These structures, especially the Card Data structure, are constantly changing as I develop the project, which could mean that they’ve become unstable somehow. Any help would be greatly appreciated, as I need to remove this node in order to implement a new feature. Thanks in advance.
Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x000000009e2a5b0e
UnrealEditor_CoreUObject
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
... repeated a lot ...
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_Core
UnrealEditor_Engine
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
kernel32
ntdll
Edit: Not sure how to undo a “solved” issue, but my previous post isn’t fixed. Tried renaming the structure assets and it causes my project to fail cooking, giving basically the same error as above, and then causing a crash on startup. There is definitely something wrong with my structures, I just don’t know how to fix them. Finding every instance of them in use isn’t feasible, as they will be in use basically everywhere throughout the project, and occasionally nested in other structures.
Edit again: Migrated everything to a new, blank project, and it still crashes on startup if I remove that node