When using move component to to move a component, and then calling Destroy Actor when the actor overlaps another actor, a crash occurs.
In this case, the user was attempting to move their static mesh component, and on Actor Begin Overlap, they were casting to their other cube actor and destroying self.
Found in 4.10.2 binary. Reproduced in 4.11 Preview 4 and Main CL 2843442
1. Open the attached project
2. PIE
Full Steps:
1. Open the editor
2. Create an actor blueprint called Colliding Actor
3. Add a box component and a cube component
4. Make the Box the root component
5. Set the collision to OverlapAllDynamic for the Box and BlockAllDynamic for the Cube
6. Compile
7. Create another new actor blueprint called TestActor
8. Add a Box component and a Cube component, and set the collisions the same as in step 5.
9. On Event Begin Play, add a Move Component To node, and attach a reference to the Cube component to the Component pin. Set the Target Relative Location to a value that would allow it to collide with where your Colliding Actor would be in the level.
10. Add an Event ActorBeginOverlap.
11. Cast to CollidingActor
12. Pull off of the execution pin of the cast, and add a Destroy Actor node.
13. Compile
14. Place an instance of each blueprint in the level
15. PIE
Result: When the actors overlap, the editor crashes.
Expected: The editor would not crash when the actors overlap.
Access violation - code c0000005 (first/second chance not available)
UE4Editor_Engine!USceneComponent::SetRelativeRotation() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\engine\private\components\scenecomponent.cpp:767] UE4Editor_Engine!FInterpolateComponentToAction::UpdateOperation() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\engine\private\interpolatecomponenttoaction.h:115] UE4Editor_Engine!FLatentActionManager::TickLatentActionForObject() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\engine\private\latentactionmanager.cpp:139] UE4Editor_Engine!FLatentActionManager::ProcessLatentActions() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\engine\private\latentactionmanager.cpp:99] UE4Editor_Engine!UWorld::Tick() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\engine\private\leveltick.cpp:1207] UE4Editor_UnrealEd!UEditorEngine::Tick() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\editor\unrealed\private\editorengine.cpp:1347] UE4Editor_UnrealEd!UUnrealEdEngine::Tick() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\editor\unrealed\private\unrealedengine.cpp:361] UE4Editor!FEngineLoop::Tick() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\launch\private\launchengineloop.cpp:2427] UE4Editor!GuardedMain() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\launch\private\launch.cpp:142] UE4Editor!GuardedMainWrapper() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\launch\private\windows\launchwindows.cpp:126] UE4Editor!WinMain() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\launch\private\windows\launchwindows.cpp:200] UE4Editor!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:264] kernel32 ntdll
Delay nodes occasionally don't fire the "Completed" output in a nativized build
Undefined sysmbol: typeinfo for AActor when cross-compile linux dedicated server on windows
An error occurred while trying to generate project files !?
I am not able to find world outliner how to enable it?
Installer 4.10 failed with error code R-1603
I can't open my map from the editor.
Getting dll error when you try to start the UE4 message'' fbx sdk-2013.3.dll '' solving.
Head over to the existing Questions & Answers thread and let us know what's up.
0 |
Component | UE - Gameplay |
---|---|
Affects Versions | 4.10, 4.11, 4.12 |
Target Fix | 4.11 |
Created | Jan 29, 2016 |
---|---|
Resolved | Feb 1, 2016 |
Updated | Apr 27, 2018 |