MachineLearningRemote-Unreal icon indicating copy to clipboard operation
MachineLearningRemote-Unreal copied to clipboard

Consistent crashing when using the editor "Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000030"

Open JadenTravnik opened this issue 3 years ago • 1 comments

Hi, I am a big fan of the repository and think that the idea is really powerful however I am running into some issues.

I am using Unreal 4.25-1 and have made sure to follow the examples and documentation as much as possible. I now have (what I think) is a working ML training loop where I start the server and play a map from the editor. However, the longer that the script runs, the more likely that Unreal will crash with the below information. The frequency of the update loop is ~0.1 seconds so perhaps this is related.

Do you have any pointers as to why this is happening and how it may be avoided? Is 4.25-1 supported by the plugin?

Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000030

UE4Editor_SIOJson
UE4Editor_CoreUObject
UE4Editor_CoreUObject
UE4Editor_CoreUObject
UE4Editor_CoreUObject
UE4Editor_CoreUObject
UE4Editor_CoreUObject
UE4Editor_CoreUObject
UE4Editor_CoreUObject
UE4Editor_Engine
UE4Editor_Engine
UE4Editor_Engine
UE4Editor_Engine
UE4Editor_AIModule
UE4Editor_Engine
UE4Editor_Engine
UE4Editor_Engine
UE4Editor_Engine
UE4Editor_Core
UE4Editor_Core
UE4Editor_Core
UE4Editor_Engine
UE4Editor_Engine
UE4Editor_Engine
UE4Editor_Engine
UE4Editor_UnrealEd
UE4Editor_UnrealEd
UE4Editor
UE4Editor
UE4Editor
UE4Editor
UE4Editor
kernel32
ntdll

JadenTravnik avatar Jul 15 '20 15:07 JadenTravnik

Interesting, do you have a crash log that goes with that? I'm suspecting some kind of race condition potentially. It does seem to be related to the frequency of the calls. You can also try https://github.com/getnamo/tensorflow-ue4/releases/tag/1.0.0alpha2 which uses this repository for 4.25 (I will port a release back here when I get something more stable)

getnamo avatar Jul 18 '20 23:07 getnamo