feat(test): add real UE 5.8 RunLuaTests commandlet, Lua.RunTests command, and fix UnLua .d.ts math/UObject bugs

This commit is contained in:
szy73711 committed 2026-11-29 15:05:35 +08:00
1 parent 3dd61c32a9
commit 96e3f0d009
29 files changed
+1417 -134

No files matched your search

@@ -50,8 +50,7 @@ function ____exports.RunLifecycleAndMemoryTests()
EventBus.Clear()
local actor = CreateBoundInstance(LifecycleSafetyActor, "AActor")
local asset = UE.UObject.Load("/Game/Data/DA_Config.DA_Config")
local weak = UE.FWeakObjectPtr()
weak:Set(actor)
local weak = UE.FWeakObjectPtr(actor)
actor:ReceiveBeginPlay()
actor:HoldManualRef(asset)
AssertEqual(