You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using an Array of Story objects. One Story for each NPC in my game. Each Story initialization takes place only when I'm starting my conversation with next NPC. But when I'm returning to the previous NPC (switching the pointer of the Story Array to the previous array index) - the Engine crashes with Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x0000000000000000
I'm also seeing this problem. I was hoping for each NPC to have its own story describing its interaction with the player. When there are multiple NPCs with Story objects in a map, the Unreal editor crashes.
For me, it was throwing an exception from MonoInvoke when I was trying to add an observer callback.
How long are your Ink stories? Are you using multiple StoryAssets or one large StoryAssets? We found out that loading long stories multiple times leads to crashes, maybe exceeding the stack size in Mono. Using multiple, smaller StoryAssets might be a solution.
I'm using an Array of Story objects. One Story for each NPC in my game. Each Story initialization takes place only when I'm starting my conversation with next NPC. But when I'm returning to the previous NPC (switching the pointer of the Story Array to the previous array index) - the Engine crashes with Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x0000000000000000
Is there any way to manage more than one Story object at the same time?
The text was updated successfully, but these errors were encountered: