Crash on disabling an actor's physics and transforming it on the same tick

I’ve been getting this crash since my team switched from UE3. Our game has a lot of RB object manipulation, and we switch between simulating physics and manually transforming rigid bodies in order to achieve better control over the objects. Problem is, whenever an external force (such as wind) affects the object on the same tick as the player grabs it (disabling physics), the entire editor crashes with this log:

[2014.09.09-03.43.48:850][642]LogCrashTracker:

[2014.09.09-03.43.48:850][642]LogThreadingWindows:Error: Runnable thread TaskGraphThread 0 crashed.
[2014.09.09-03.43.48:850][642]LogCrashTracker:

[2014.09.09-03.43.48:850][642]LogWindows: === Critical error: ===
Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000

[2014.09.09-03.43.48:850][642]LogWindows: Fatal error!

Address = 0xe1a7cb76 (filename not found) [in U:\Unreal Engine\4.3\Engine\Binaries\ThirdParty\PhysX\PhysX-3.3\Win64\VS2013\PhysX3PROFILE_x64.dll]
Address = 0xe1a448fd (filename not found) [in U:\Unreal Engine\4.3\Engine\Binaries\ThirdParty\PhysX\PhysX-3.3\Win64\VS2013\PhysX3PROFILE_x64.dll]
Address = 0xe1a44acb (filename not found) [in U:\Unreal Engine\4.3\Engine\Binaries\ThirdParty\PhysX\PhysX-3.3\Win64\VS2013\PhysX3PROFILE_x64.dll]
Address = 0xe1a404d9 (filename not found) [in U:\Unreal Engine\4.3\Engine\Binaries\ThirdParty\PhysX\PhysX-3.3\Win64\VS2013\PhysX3PROFILE_x64.dll]
Address = 0xe190a3f2 (filename not found) [in U:\Unreal Engine\4.3\Engine\Binaries\ThirdParty\PhysX\PhysX-3.3\Win64\VS2013\PhysX3PROFILE_x64.dll]
Address = 0xeb642ae4 (filename not found) [in U:\Unreal Engine\4.3\Engine\Binaries\Win64\UE4Editor-Engine.dll]
Address = 0xece5d1a2 (filename not found) [in U:\Unreal Engine\4.3\Engine\Binaries\Win64\UE4Editor-Core.dll]
Address = 0xece5d35d (filename not found) [in U:\Unreal Engine\4.3\Engine\Binaries\Win64\UE4Editor-Core.dll]
Address = 0xece6494b (filename not found) [in U:\Unreal Engine\4.3\Engine\Binaries\Win64\UE4Editor-Core.dll]
Address = 0xed0df046 (filename not found) [in U:\Unreal Engine\4.3\Engine\Binaries\Win64\UE4Editor-Core.dll]
Address = 0xed0dad7a (filename not found) [in U:\Unreal Engine\4.3\Engine\Binaries\Win64\UE4Editor-Core.dll]
Address = 0x76ae59ed (filename not found) [in C:\Windows\system32\kernel32.dll]
Address = 0x771fc541 (filename not found) [in C:\Windows\SYSTEM32\ntdll.dll]
Address = 0x771fc541 (filename not found) [in C:\Windows\SYSTEM32\ntdll.dll]

Crash in runnable thread TaskGraphThread 0
[2014.09.09-03.43.48:850][642]LogExit: Executing StaticShutdownAfterError
[2014.09.09-03.43.48:851][642]LogWindows:Error: Error reentered: Runnable thread TaskGraphThread 0 crashed.
[2014.09.09-03.43.48:851][642]LogWindows:Error: HandleError re-entered.
[2014.09.09-03.43.48:851][642]LogWindows: FPlatformMisc::RequestExit(1)
[2014.09.09-03.43.48:851][642]Log file closed, 09/08/14 20:43:48

!Id:18b0b21ed282227c812709b60a4534ee

Funny enough, it seems Rama had the same problem in 4.0.2 but his solution of toggling async scene on and off has no effect (I have it on normally for our project, but get the crash either way). I am using 4.3.

Hi James,

Are you able to provide a simple setup that I can do in a blank project to get this to reproduce along with repro steps?

Problem is, whenever an external force
(such as wind) affects the object on
the same tick as the player

As for the Directional Wind, this shouldn’t have any affect on the objects as there is no wind force applied for anything other than Apex Cloth and Foliage.

Can you also post the crash and dmp logs from your project in a zip file ([your project folder] / Saved / Logs ) ?

Thank you!

Tim

Hi James,

I’ve not heard back from you in the last few days in regards to this issue. For our tracking purposes I’m going to mark it as resolved. If you’re still having the issue or need assistance feel free to post here to open this back up.

Thank you!

Tim