hugoattal / DarkerNodes

Modern theme for the Unreal editor
51 stars 2 forks source link

UE5.5 iOS Cook Error. #193

Open 1scriptz opened 1 day ago

1scriptz commented 1 day ago

Been building out a new ios game on windows for a few days and decided to move it over to Mac for testing/pushing to ios. Running into a plethora of errors but this one was reproducible in a fresh project.

I've not tested this with other platforms android/mac but I do notice this reproducible error on iOS cooks.

Steps:

  1. Create a fresh ue 5.5 topdown project
  2. Enable Darker nodes
  3. cook the project for ios

`LogMac: === Critical error: === SIGSEGV: invalid attempt to access memory at address 0x3

LogMac: 0x05a31ea8 UnrealEditor-Core.dylib!FGenericPlatformMisc::RaiseException(unsigned int) [UnknownFile]) 0x05d43620 UnrealEditor-Core.dylib!FOutputDevice::LogfImpl(char16_t const, ...) [UnknownFile]) 0x05c561d4 UnrealEditor-Core.dylib!FDebug::CheckVerifyFailedImpl2(char const, char const, int, char16_t const, ...) [UnknownFile]) 0xf23eb780 UnrealEditor-DarkerNodes.dylib!FSlateApplication::Get() [UnknownFile]) 0xf23f21d4 UnrealEditor-DarkerNodes.dylib!DNUpdatePopup::Open() [UnknownFile]) 0xf240a618 UnrealEditor-DarkerNodes.dylib!TBaseFunctorDelegateInstance<void (), FDefaultDelegateUserPolicy, DNUpdatePopup::Register()::$_7>::ExecuteIfSafe() const [UnknownFile]) 0x0207c494 UnrealEditor!void TMulticastDelegateBase::Broadcast<IBaseDelegateInstance<void (), FDefaultDelegateUserPolicy>>() const [UnknownFile]) 0x0206a2a8 UnrealEditor!FEngineLoop::PreInitPostStartupScreen(char16_t const) [UnknownFile]) 0x02059fb0 UnrealEditor!GuardedMain(char16_t const) [UnknownFile]) 0x02070da4 UnrealEditor!-[UEAppDelegate runGameThread:] [UnknownFile]) 0x05bf60ac UnrealEditor-Core.dylib!-[FCocoaGameThread main] [UnknownFile]) 0x9577c734 Foundation!NSThreadstart__() [UnknownFile]) 0x944df2e4 libsystem_pthread.dylib!_pthread_start() [UnknownFile]) 0x944da0fc libsystem_pthread.dylib!thread_start() [UnknownFile])

LogExit: Executing StaticShutdownAfterError`

To Fix: Have to disable DarkerNodes for cook to succeed.

Hope it helps and let me know if there's anything else I can provide.

hugoattal commented 10 hours ago

That's pretty weird... Darker Nodes configuration file explicitly tells Unreal Engine that it's an editor plugin, and that it shouldn't be used during build.

Could you please tell me if you're building the game directly from the editor, or from a command line?

hugoattal commented 6 hours ago

Do you happen to have Electronic Nodes too? Does it also trigger this error? (If you don't have it, don't worry)

1scriptz commented 5 hours ago

There is another scenario I didn't test: removing the Fab plugin. I do know that causes other issues. I realized this just now.

And yes, I had Darker nodes, Electronic Nodes and Fab installed.

All done in the Editor, nothing command line.

hugoattal commented 5 hours ago

Hum, since it seems to have something to do with the UpdatePopup, and there's a bug with it right now, I suggest retrying once it's fixed => https://github.com/hugoattal/DarkerNodes/issues/194