Make sure you see this post at the bottom:
#Attempted Work around
trying to make the 2nd movement component class a subclass of my first extended movement comp class caused a terrifying complete and total OS freeze for several seconds and a frame rate of about 2 as the editor tried to load
I had to use CTRL + ALT + DEL to get my computer back
Rama
Dear Friends at Epic,
I am overriding the default Character movement component using this method:
AVictoryPlayerCharacterBase::AVictoryPlayerCharacterBase(const class FPostConstructInitializeProperties& PCIP)
: Super(PCIP.SetDefaultSubobjectClass(ACharacter::CharacterMovementComponentName))
{
I made a new type of character, a subclass of PlayerCharacterBase,
and I made new movement component, that was not a subclass of UVictoryCharMoveComp, but was a direct subclass of MovementComponent
So again, the inheritance:
Character->VictoryPlayerCharacterBase->NewCharClass
And NewCharClass tried to override the movement component a second time with:
ANewCharClass::ANewCharClass(const class FPostConstructInitializeProperties& PCIP)
: Super(PCIP.SetDefaultSubobjectClass(ACharacter::CharacterMovementComponentName))
{
Trying to override the movement component twice lead to this crash:
#The Crash
[2014.02.09-18.14.03:669][ ]LogWindows: Assertion failed: 0 [File:D:\BuildFarm\buildmachine_++depot+UE4-Rocket+Beta6\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp] [Line: 2076]
Stack:
Address = 0xe0313156 (filename not found) [in C:\Program Files\Rocket\Engine\Binaries\Win64\RocketEditor-Core.dll]
Address = 0xe020345a (filename not found) [in C:\Program Files\Rocket\Engine\Binaries\Win64\RocketEditor-Core.dll]
Address = 0xe2b7a41f (filename not found) [in C:\Program Files\Rocket\Engine\Binaries\Win64\RocketEditor-CoreUObject.dll]
FPostConstructInitializeProperties::FOverrides::Add() 0xd5e85d36 + 170 bytes [File=c:\program files\rocket\engine\source\runtime\coreuobject\public\uobject\uobjectglobals.h:818] [in E:\RocketVictory\VictoryGame\Binaries\Win64\RocketEditor-VictoryGame.dll]
AVictoryPlayerCharacterBase::AVictoryPlayerCharacterBase() 0xd5e84536 + 102 bytes [File=e:\rocketvictory\victorygame\source\victorygame\private\characters\victoryplayercharacterbase.cpp:34] [in E:\RocketVictory\VictoryGame\Binaries\Win64\RocketEditor-VictoryGame.dll]
AEvolverBase::AEvolverBase() 0xd5e618f6 + 54 bytes [File=e:\rocketvictory\victorygame\source\victorygame\private\characters\evolverbase.cpp:22] [in E:\RocketVictory\VictoryGame\Binaries\Win64\RocketEditor-VictoryGame.dll]
AEvolver::AEvolver() 0xd5e596ce + 14 bytes [File=e:\rocketvictory\victorygame\source\victorygame\private\characters\evolver.cpp:24] [in E:\RocketVictory\VictoryGame\Binaries\Win64\RocketEditor-VictoryGame.dll]
AJoyMech::AJoyMech() 0xd5e9afd8 + 0 bytes [File=e:\rocketvictory\victorygame\source\victorygame\private\characters\mechs\joymech.cpp:16] [in E:\RocketVictory\VictoryGame\Binaries\Win64\RocketEditor-VictoryGame.dll]
Address = 0xe2a3c0b4 (filename not found) [in C:\Program Files\Rocket\Engine\Binaries\Win64\RocketEditor-CoreUObject.dll]
Address = 0xe2b87b7a (filename not found) [in C:\Program Files\Rocket\Engine\Binaries\Win64\RocketEditor-CoreUObject.dll]
Address = 0xe2b7bb52 (filename not found) [in C:\Program Files\Rocket\Engine\Binaries\Win64\RocketEditor-CoreUObject.dll]
Address = 0xe2a9eefa (filename not found) [in C:\Program Files\Rocket\Engine\Binaries\Win64\RocketEditor-CoreUObject.dll]
Address = 0xe012b895 (filename not found) [in C:\Program Files\Rocket\Engine\Binaries\Win64\RocketEditor-Core.dll]
Address = 0xe021b2c0 (filename not found) [in C:\Program Files\Rocket\Engine\Binaries\Win64\RocketEditor-Core.dll]
Address = 0xe028d17c (filename not found) [in C:\Program Files\Rocket\Engine\Binaries\Win64\RocketEditor-Core.dll]
Address = 0xe028dba2 (filename not found) [in C:\Program Files\Rocket\Engine\Binaries\Win64\RocketEditor-Core.dll]
Address = 0xe01df049 (filename not found) [in C:\Program Files\Rocket\Engine\Binaries\Win64\RocketEditor-Core.dll]
Address = 0x3f1911ab (filename not found) [in C:\Program Files\Rocket\Engine\Binaries\Win64\RocketEditor.exe]
Address = 0x3f194228 (filename not found) [in C:\Program Files\Rocket\Engine\Binaries\Win64\RocketEditor.exe]
Address = 0x3f18e7dc (filename not found) [in C:\Program Files\Rocket\Engine\Binaries\Win64\RocketEditor.exe]
Address = 0x3f18e94a (filename not found) [in C:\Program Files\Rocket\Engine\Binaries\Win64\RocketEditor.exe]
Address = 0x3f19a73b (filename not found) [in C:\Program Files\Rocket\Engine\Binaries\Win64\RocketEditor.exe]
Address = 0x3f19b3ef (filename not found) [in C:\Program Files\Rocket\Engine\Binaries\Win64\RocketEditor.exe]
Address = 0x76af652d (filename not found) [in C:\Windows\system32\kernel32.dll]
Address = 0x76d2c521 (filename not found) [in C:\Windows\SYSTEM32\ntdll.dll]
Address = 0x76d2c521 (filename not found) [in C:\Windows\SYSTEM32\ntdll.dll]
Address = 0xfce09e5d (filename not found) [in C:\Windows\system32\KERNELBASE.dll]
Address = 0xe0311a1c (filename not found) [in C:\Program Files\Rocket\Engine\Binaries\Win64\RocketEditor-Core.dll]
Address = 0xe021c8b2 (filename not found) [in C:\Program Files\Rocket\Engine\Binaries\Win64\RocketEditor-Core.dll]
Address = 0xe02034ff (filename not found) [in C:\Program Files\Rocket\Engine\Binaries\Win64\RocketEditor-Core.dll]
Address = 0xe2b7a41f (filename not found) [in C:\Program Files\Rocket\Engine\Binaries\Win64\RocketEditor-CoreUObject.dll]
FPostConstructInitializeProperties::FOverrides::Add() 0xd5e85d36 + 170 bytes [File=c:\program files\rocket\engine\source\runtime\coreuobject\public\uobject\uobjectglobals.h:818] [in E:\RocketVictory\VictoryGame\Binaries\Win64\RocketEditor-VictoryGame.dll]
AVictoryPlayerCharacterBase::AVictoryPlayerCharacterBase() 0xd5e84536 + 102 bytes [File=e:\rocketvictory\victorygame\source\victorygame\private\characters\victoryplayercharacterbase.cpp:34] [in E:\RocketVictory\VictoryGame\Binaries\Win64\RocketEditor-VictoryGame.dll]
AEvolverBase::AEvolverBase() 0xd5e618f6 + 54 bytes [File=e:\rocketvictory\victorygame\source\victorygame\private\characters\evolverbase.cpp:22] [in E:\RocketVictory\VictoryGame\Binaries\Win64\RocketEditor-VictoryGame.dll]
AEvolver::AEvolver() 0xd5e596ce + 14 bytes [File=e:\rocketvictory\victorygame\source\victorygame\private\characters\evolver.cpp:24] [in E:\RocketVictory\VictoryGame\Binaries\Win64\RocketEditor-VictoryGame.dll]
AJoyMech::AJoyMech() 0xd5e9afd8 + 0 bytes [File=e:\rocketvictory\victorygame\source\victorygame\private\characters\mechs\joymech.cpp:16] [in E:\RocketVictory\VictoryGame\Binaries\Win64\RocketEditor-VictoryGame.dll]
Address = 0xe2a3c0b4 (filename not found) [in C:\Program Files\Rocket\Engine\Binaries\Win64\RocketEditor-CoreUObject.dll]
Address = 0xe2b87b7a (filename not found) [in C:\Program Files\Rocket\Engine\Binaries\Win64\RocketEditor-CoreUObject.dll]
Address = 0xe2b7bb52 (filename not found) [in C:\Program Files\Rocket\Engine\Binaries\Win64\RocketEditor-CoreUObject.dll]
Address = 0xe2a9eefa (filename not found) [in C:\Program Files\Rocket\Engine\Binaries\Win64\RocketEditor-CoreUObject.dll]
Address = 0xe012b895 (filename not found) [in C:\Program Files\Rocket\Engine\Binaries\Win64\RocketEditor-Core.dll]
Address = 0xe021b2c0 (filename not found) [in C:\Program Files\Rocket\Engine\Binaries\Win64\RocketEditor-Core.dll]
Address = 0xe028d17c (filename not found) [in C:\Program Files\Rocket\Engine\Binaries\Win64\RocketEditor-Core.dll]
Address = 0xe028dba2 (filename not found) [in C:\Program Files\Rocket\Engine\Binaries\Win64\RocketEditor-Core.dll]
Address = 0xe01df049 (filename not found) [in C:\Program Files\Rocket\Engine\Binaries\Win64\RocketEditor-Core.dll]
Address = 0x3f1911ab (filename not found) [in C:\Program Files\Rocket\Engine\Binaries\Win64\RocketEditor.exe]
Address = 0x3f194228 (filename not found) [in C:\Program Files\Rocket\Engine\Binaries\Win64\RocketEditor.exe]
Address = 0x3f18e7dc (filename not found) [in C:\Program Files\Rocket\Engine\Binaries\Win64\RocketEditor.exe]
Address = 0x3f18e94a (filename not found) [in C:\Program Files\Rocket\Engine\Binaries\Win64\RocketEditor.exe]
Address = 0x3f19a73b (filename not found) [in C:\Program Files\Rocket\Engine\Binaries\Win64\RocketEditor.exe]
Address = 0x3f19b3ef (filename not found) [in C:\Program Files\Rocket\Engine\Binaries\Win64\RocketEditor.exe]
Address = 0x76af652d (filename not found) [in C:\Windows\system32\kernel32.dll]
Address = 0x76d2c521 (filename not found) [in C:\Windows\SYSTEM32\ntdll.dll]
Address = 0x76d2c521 (filename not found) [in C:\Windows\SYSTEM32\ntdll.dll]