UE-OSC icon indicating copy to clipboard operation
UE-OSC copied to clipboard

Possible Dispatcher constructor error

Open JohnENoonan opened this issue 5 years ago • 0 comments

Hello. My project works fine, but I have noticed that on hot reload compiles to my project I am not infrequently crashing with the following crash report

Assertion failed: [File:D:/Build/++UE4/Sync/Engine/Source/Runtime/CoreUObject/Private/UObject/Obj.cpp] [Line: 100] We are currently retrieving VTable ptr. Please use FVTableHelper constructor instead.

UE4Editor_Core
UE4Editor_Core
UE4Editor_Core
UE4Editor_Core
UE4Editor_CoreUObject
UE4Editor_CoreUObject
UE4Editor_OSC_0001!UOscDispatcher::UOscDispatcher() [c:\users\jnoonan\documents\unreal projects\parkmodern\flatlandscape 4.23\plugins\osc\source\osc\private\receive\oscdispatcher.cpp:21]
UE4Editor_OSC_0001!InternalVTableHelperCtorCaller<UOscDispatcher>() [c:\program files\epic games\ue_4.23\engine\source\runtime\coreuobject\public\uobject\class.h:2919]
UE4Editor_CoreUObject
UE4Editor_CoreUObject
UE4Editor_OSC_0001!UOscDispatcher::StaticClass() [c:\users\jnoonan\documents\unreal projects\parkmodern\flatlandscape 4.23\plugins\osc\source\osc\private\receive\oscdispatcher.h:24]
UE4Editor_OSC_0001!TClassCompiledInDefer<UOscDispatcher>::Register() [c:\program files\epic games\ue_4.23\engine\source\runtime\coreuobject\public\uobject\uobjectbase.h:343]
UE4Editor_CoreUObject
UE4Editor_CoreUObject
UE4Editor_CoreUObject
UE4Editor_Core
UE4Editor_Core
UE4Editor_Core
UE4Editor_HotReload
UE4Editor_HotReload
UE4Editor_HotReload
UE4Editor_HotReload
UE4Editor_Core
UE4Editor
UE4Editor
UE4Editor
UE4Editor
UE4Editor
kernel32
ntdll

I'm using 4.23 and am using the C++ UOscReceiverComponent which I init like this

Constructor(){
   ...
	OSCServer = CreateDefaultSubobject<UOscReceiverComponent>(TEXT("MyOSC"));
	if (OSCServer) {
		OSCServer->RegisterComponent();
	}
   ...
}

This has happened when compiling in engine and from Visual Studio. Thanks and let me know if there is any further information I can provide.

JohnENoonan avatar Nov 15 '19 20:11 JohnENoonan