Lyra UE5.6 Error while running the project

So, I was working with UE5.6 source and I encountered these errors in Lyra while running.

LoginId:e55787314df4f05c897ce6a3b7f55769
EpicAccountId:eb84ac268e7b426e899667fadf59485c

Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x0000000000000038

UnrealEditor_LyraGame!ULyraNumberPopComponent_NiagaraText::AddNumberPop() [D:\MyProjects\GameRepo\LyraGame\Source\LyraGame\Feedback\NumberPops\LyraNumberPopComponent_NiagaraText.cpp:51]
UnrealEditor_LyraGame!ULyraNumberPopComponent::execAddNumberPop() [D:\MyProjects\GameRepo\LyraGame\Intermediate\Build\Win64\UnrealEditor\Inc\LyraGame\UHT\LyraNumberPopComponent.gen.cpp:195]
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_Engine
UnrealEditor_GameplayAbilities
UnrealEditor_GameplayAbilities
UnrealEditor_GameplayAbilities
UnrealEditor_GameplayAbilities
UnrealEditor_GameplayAbilities
UnrealEditor_GameplayAbilities
UnrealEditor_GameplayAbilities
UnrealEditor_GameplayAbilities
UnrealEditor_GameplayAbilities
UnrealEditor_GameplayAbilities
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_GameplayAbilities
UnrealEditor_GameplayAbilities
UnrealEditor_GameplayAbilities
UnrealEditor_GameplayAbilities
UnrealEditor_GameplayAbilities
UnrealEditor_GameplayAbilities
UnrealEditor_GameplayAbilities
UnrealEditor_GameplayAbilities
UnrealEditor_GameplayAbilities
UnrealEditor_GameplayAbilities
UnrealEditor_GameplayAbilities
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_LyraEditor!ULyraEditorEngine::Tick() [D:\MyProjects\GameRepo\LyraGame\Source\LyraEditor\LyraEditorEngine.cpp:39]
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
kernel32
ntdll

and I’m getting this while starting editor.

Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x0000000000000038

0x000001dfa4f53aa9 UnrealEditor-LyraGame.dll!ULyraNumberPopComponent_NiagaraText::AddNumberPop() [D:\MyProjects\GameRepo\LyraGame\Source\LyraGame\Feedback\NumberPops\LyraNumberPopComponent_NiagaraText.cpp:51]
0x000001dfa4fc85ab UnrealEditor-LyraGame.dll!ULyraNumberPopComponent::execAddNumberPop() [D:\MyProjects\GameRepo\LyraGame\Intermediate\Build\Win64\UnrealEditor\Inc\LyraGame\UHT\LyraNumberPopComponent.gen.cpp:195]
0x00007ffa35f204c2 UnrealEditor-CoreUObject.dll!UnknownFunction []
0x00007ffa36273244 UnrealEditor-CoreUObject.dll!UnknownFunction []
0x00007ffa36287f3e UnrealEditor-CoreUObject.dll!UnknownFunction []
0x00007ffa3628c368 UnrealEditor-CoreUObject.dll!UnknownFunction []
0x00007ffa3628b2cf UnrealEditor-CoreUObject.dll!UnknownFunction []
0x00007ffa35f204c2 UnrealEditor-CoreUObject.dll!UnknownFunction []
0x00007ffa36289■■■ UnrealEditor-CoreUObject.dll!UnknownFunction []
0x00007ffa1588ffc7 UnrealEditor-Engine.dll!UnknownFunction []
0x00007ff9f044768c UnrealEditor-GameplayAbilities.dll!UnknownFunction []
0x00007ff9f042f0f5 UnrealEditor-GameplayAbilities.dll!UnknownFunction []
0x00007ff9f0431c54 UnrealEditor-GameplayAbilities.dll!UnknownFunction []
0x00007ff9f043153d UnrealEditor-GameplayAbilities.dll!UnknownFunction []
0x00007ff9f04643ce UnrealEditor-GameplayAbilities.dll!UnknownFunction []
0x00007ff9f04304bd UnrealEditor-GameplayAbilities.dll!UnknownFunction []
0x00007ff9f0431f7b UnrealEditor-GameplayAbilities.dll!UnknownFunction []
0x00007ff9f034d89c UnrealEditor-GameplayAbilities.dll!UnknownFunction []
0x00007ff9f0351e26 UnrealEditor-GameplayAbilities.dll!UnknownFunction []
0x00007ff9f038decd UnrealEditor-GameplayAbilities.dll!UnknownFunction []
0x00007ffa35f204c2 UnrealEditor-CoreUObject.dll!UnknownFunction []
0x00007ffa36289■■■ UnrealEditor-CoreUObject.dll!UnknownFunction []
0x00007ff9f0351da3 UnrealEditor-GameplayAbilities.dll!UnknownFunction []
0x00007ff9f03f91e3 UnrealEditor-GameplayAbilities.dll!UnknownFunction []
0x00007ff9f0415d65 UnrealEditor-GameplayAbilities.dll!UnknownFunction []
0x00007ff9f043bed7 UnrealEditor-GameplayAbilities.dll!UnknownFunction []
0x00007ff9f0411bd5 UnrealEditor-GameplayAbilities.dll!UnknownFunction []
0x00007ff9f033082c UnrealEditor-GameplayAbilities.dll!UnknownFunction []
0x00007ff9f0310d07 UnrealEditor-GameplayAbilities.dll!UnknownFunction []
0x00007ff9f03112f8 UnrealEditor-GameplayAbilities.dll!UnknownFunction []
0x00007ff9f031177f UnrealEditor-GameplayAbilities.dll!UnknownFunction []
0x00007ff9f0313adf UnrealEditor-GameplayAbilities.dll!UnknownFunction []
0x00007ff9f03822d8 UnrealEditor-GameplayAbilities.dll!UnknownFunction []
0x00007ffa35f204c2 UnrealEditor-CoreUObject.dll!UnknownFunction []
0x00007ffa36273244 UnrealEditor-CoreUObject.dll!UnknownFunction []
0x00007ffa36287f3e UnrealEditor-CoreUObject.dll!UnknownFunction []
0x00007ffa362bdde1 UnrealEditor-CoreUObject.dll!UnknownFunction []
0x00007ffa3628c368 UnrealEditor-CoreUObject.dll!UnknownFunction []
0x00007ffa3625d65d UnrealEditor-CoreUObject.dll!UnknownFunction []
0x00007ffa3628bdb4 UnrealEditor-CoreUObject.dll!UnknownFunction []
0x00007ffa3628c368 UnrealEditor-CoreUObject.dll!UnknownFunction []
0x00007ffa3628b2cf UnrealEditor-CoreUObject.dll!UnknownFunction []
0x00007ffa35f204c2 UnrealEditor-CoreUObject.dll!UnknownFunction []
0x00007ffa36289■■■ UnrealEditor-CoreUObject.dll!UnknownFunction []
0x00007ffa1588ffc7 UnrealEditor-Engine.dll!UnknownFunction []
0x00007ffa17a81c15 UnrealEditor-Engine.dll!UnknownFunction []
0x00007ffa17b18553 UnrealEditor-Engine.dll!UnknownFunction []
0x00007ffa169af4c0 UnrealEditor-Engine.dll!UnknownFunction []
0x00007ffa2319cffd UnrealEditor-UnrealEd.dll!UnknownFunction []
0x00007ffa23e1f6b6 UnrealEditor-UnrealEd.dll!UnknownFunction []
0x000001dfa53ada2f UnrealEditor-LyraEditor.dll!ULyraEditorEngine::Tick() [D:\MyProjects\GameRepo\LyraGame\Source\LyraEditor\LyraEditorEngine.cpp:39]
0x00007ff6cb218e0b UnrealEditor.exe!UnknownFunction []
0x00007ff6cb23e33c UnrealEditor.exe!UnknownFunction []
0x00007ff6cb23e42a UnrealEditor.exe!UnknownFunction []
0x00007ff6cb2418a4 UnrealEditor.exe!UnknownFunction []
0x00007ff6cb2570c4 UnrealEditor.exe!UnknownFunction []
0x00007ff6cb25a37a UnrealEditor.exe!UnknownFunction []
0x00007ffad6d6e8d7 KERNEL32.DLL!UnknownFunction []

Hello there @Vihellmiiaa!

From your provided log, the critical error goes as follows:

Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x0000000000000038
ULyraNumberPopComponent_NiagaraText::AddNumberPop()
Line 51 in LyraNumberPopComponent_NiagaraText.cpp

This points to a crash in Lyra related to the “Number Pop” component trying to access a null Niagara system/pointer. So, checking with my peers, the most direct solution would be to check for this reference, set it properly, and add null checks before using the system, like this:

if (NiagaraSystem && NiagaraComponent)
{
    // Add your code here
}

If the issue persists, the next step is to check the affected blueprint, and make sure your Niagara system is assigned correctly, has a proper asset path, and all components are initialized.

Next, before testing the build again, please make sure you clear your project’s cache, via deleting the following folders from the main directory:

  • Binaries/
  • Intermediate/
  • Build/

Then regenerate your project files, and rebuild in VS. A final check would be to ensure all components of your install, VS, have all the proper elements, and their correct version: