fairygui/FairyGUI-unreal

GList改变窗体大小后崩溃

Closed this issue · 0 comments

在一个界面切换到另一个界面后然后修改窗体大小会导致崩溃,在GList.cpp 1700行,尝试修改为 ItemRenderer.ExecuteIfBound(curIndex % NumItems, ii.Obj);就没有崩溃的问题了

`
[2021.05.14-01.45.15:378][382]CrashToolLog: Fatal error!

Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x0000000000000000

0x00007ffa7271d41c UE4Editor-FairyGUI.dll!TBaseUFunctionDelegateInstance<UObject,void __cdecl(int,UGObject *),FDefaultDelegateUserPolicy>::Execute() [F:\UnrealEngine-4.26.2\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:149]
0x00007ffa72730864 UE4Editor-FairyGUI.dll!UGList::HandleScroll2() [F:\UE4Projects\Dental3D4.26\Plugins\FairyGUI\Source\FairyGUI\Private\UI\GList.cpp:1701]
0x00007ffa727316ee UE4Editor-FairyGUI.dll!UGList::HandleScroll() [F:\UE4Projects\Dental3D4.26\Plugins\FairyGUI\Source\FairyGUI\Private\UI\GList.cpp:1403]
0x00007ffa90675a6b UE4Editor-Engine.dll!FTimerUnifiedDelegate::Execute() [F:\UnrealEngine-4.26.2\Engine\Source\Runtime\Engine\Public\TimerManager.h:51]
0x00007ffa906efec9 UE4Editor-Engine.dll!FTimerManager::Tick() [F:\UnrealEngine-4.26.2\Engine\Source\Runtime\Engine\Private\TimerManager.cpp:881]
0x00007ffa8fd76534 UE4Editor-Engine.dll!UWorld::Tick() [F:\UnrealEngine-4.26.2\Engine\Source\Runtime\Engine\Private\LevelTick.cpp:1524]
0x00007ffa93221903 UE4Editor-UnrealEd.dll!UEditorEngine::Tick() [F:\UnrealEngine-4.26.2\Engine\Source\Editor\UnrealEd\Private\EditorEngine.cpp:1720]
0x00007ffa93b5d6b6 UE4Editor-UnrealEd.dll!UUnrealEdEngine::Tick() [F:\UnrealEngine-4.26.2\Engine\Source\Editor\UnrealEd\Private\UnrealEdEngine.cpp:426]
0x00007ff7c3fa9bb5 UE4Editor.exe!FEngineLoop::Tick() [F:\UnrealEngine-4.26.2\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:4836]
0x00007ff7c3fc118c UE4Editor.exe!GuardedMain() [F:\UnrealEngine-4.26.2\Engine\Source\Runtime\Launch\Private\Launch.cpp:169]
0x00007ff7c3fc126a UE4Editor.exe!GuardedMainWrapper() [F:\UnrealEngine-4.26.2\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:137]
0x00007ff7c3fd521d UE4Editor.exe!WinMain() [F:\UnrealEngine-4.26.2\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:268]
0x00007ff7c3fd7f3a UE4Editor.exe!__scrt_common_main_seh() [d:\A01_work\6\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
0x00007ffb300e7034 KERNEL32.DLL!UnknownFunction []
0x00007ffb30222651 ntdll.dll!UnknownFunction []`