[4.8] Crash error in standalone game

After upgrade to 4.8 I see following crash error on run standalone game (In PIE it works good).


Access violation - code c0000005 (first/second chance not available)


UE4Editor_CoreUObject!UClass::CreateDefaultObject() [d:\epic games\4.8\engine\source\runtime\coreuobject\private\uobject\class.cpp:2587]
UE4Editor_CoreUObject!UObjectLoadAllCompiledInDefaultProperties() [d:\epic games\4.8\engine\source\runtime\coreuobject\private\uobject\uobjectbase.cpp:706]
UE4Editor_CoreUObject!ProcessNewlyLoadedUObjects() [d:\epic games\4.8\engine\source\runtime\coreuobject\private\uobject\uobjectbase.cpp:797]
UE4Editor_CoreUObject!TBaseStaticDelegateInstance<void __cdecl(void)>::ExecuteIfSafe() [d:\epic games\4.8\engine\source\runtime\core\public\delegates\delegateinstancesimpl_variadics.inl:921]
UE4Editor_Core!TBaseMulticastDelegate<void>::Broadcast() [d:\epic games\4.8\engine\source\runtime\core\public\delegates\delegatesignatureimpl_variadics.inl:1031]
UE4Editor_Core!FModuleManager::LoadModuleWithFailureReason() [d:\epic games\4.8\engine\source\runtime\core\private\modules\modulemanager.cpp:431]
UE4Editor_Projects!FModuleDescriptor::LoadModulesForPhase() [d:\epic games\4.8\engine\source\runtime\projects\private\moduledescriptor.cpp:370]
UE4Editor_Projects!FProjectManager::LoadModulesForProject() [d:\epic games\4.8\engine\source\runtime\projects\private\projectmanager.cpp:52]
UE4Editor!FEngineLoop::LoadStartupModules() [d:\epic games\4.8\engine\source\runtime\launch\private\launchengineloop.cpp:1922]
UE4Editor!FEngineLoop::PreInit() [d:\epic games\4.8\engine\source\runtime\launch\private\launchengineloop.cpp:1444]
UE4Editor!GuardedMain() [d:\epic games\4.8\engine\source\runtime\launch\private\launch.cpp:110]
UE4Editor!GuardedMainWrapper() [d:\epic games\4.8\engine\source\runtime\launch\private\windows\launchwindows.cpp:126]
UE4Editor!WinMain() [d:\epic games\4.8\engine\source\runtime\launch\private\windows\launchwindows.cpp:200]

Hi ,

I’ve located this crash in our crash report tool, it appears that specific crash has not occurred since the 12th, are you still seeing it happen?

It was affected by Code Editor plugin.

so is your issue resolved or still occurring?

If I disable Code Editor plugin it works but when I enable this plugin it crash.

I know that it’s beta but I want to help you with finding bugs :slight_smile:

  1. Enable “Code Editor” plugin.
  2. Cook project.

I don’t see a plugin called Code Editor in our list of Built-In plugins. Can you show me from where you acquired it?

Alright, it took me a bit of clicking around to find it, but I have. Please note that it is marked both experimental and Beta, and it throws up this warning before you use it:

Plugin ‘Code Editor’ is a beta version and might be unstable or removed without notice. Please use with caution. Are you sure you want to enable the plugin?

But that all said, if you can give me reproduction steps for what you were doing with the plugin when it crashed, I can try to repro it and then put in an issue for the crash so that hopefully whatever is wrong can be corrected in the later versions of the plugin.

What sort of project? Do you mean package as opposed to cook? For what platform are you packaging? Are you using source or binary from the launcher?

Third Person C++ Sample Project. Yes I mean package. I noticed this error in packaging for Android and Windows. I’m using source version of UE.

Hi ,

I was able to reproduce this crash on packaging for both Android and Windows. For reference, I have entered JIRA UE-17346 concerning the Code Editor plugin. I will post in this thread when I have more information in reference to the status of that issue.