EpicSkookumScript / EpicSkookumScript/SkookumScript-Plugin

Assertion failed: !Obj->HasAnyFlags(RF_NeedLoad|RF_NeedPostLoad|RF_ClassDefaultObject) || bIsOwnedByCDO

Đang mở
#32 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
C++
Star
138
Fork
22
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

**UE4 Version**
4.18-Current

**SkookumScript Version**
4.18-Current

**Describe the bug**
Once the bug hits, you will get this stack trace when starting the editor.

```
0x00000000676E47F9 UE4Editor-Core.dll!FDebug::AssertFailed() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\core\private\misc\assertionmacros.cpp:414]
0x000000006BEBE73A UE4Editor-CoreUObject.dll!StaticAllocateObject() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:2365]
0x000000006BEC0191 UE4Editor-CoreUObject.dll!StaticConstructObject_Internal() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:3145]
0x000000004BCDAE3A UE4Editor-SkookumScriptRuntime.dll!SkUEReflectionManager::add_instance_property_to_class() [d:\build\++portal+dev-marketplace+full\sync\localbuilds\plugintemp\hostproject\plugins\skookumscript\source\skookumscriptruntime\private\bindings\skuereflectionmanager.cpp:788]
0x000000004BE4DFA6 UE4Editor-SkookumScriptRuntime.dll!SkUEReflectionManager::sync_all_to_ue() [d:\build\++portal+dev-marketplace+full\sync\localbuilds\plugintemp\hostproject\plugins\skookumscript\source\skookumscriptruntime\private\bindings\skuereflectionmanager.cpp:723]
0x000000004BCCF8EF UE4Editor-SkookumScriptRuntime.dll!FSkookumScriptRuntime::OnPreCompile() [d:\build\++portal+dev-marketplace+full\sync\localbuilds\plugintemp\hostproject\plugins\skookumscript\source\skookumscriptruntime\private\skookumscriptruntime.cpp:1466]
0x000000004BCC97D6 UE4Editor-SkookumScriptRuntime.dll!TBaseRawMethodDelegateInstance<0,FSkookumScriptRuntime,void __cdecl(void)>::ExecuteIfSafe() [d:\rocketsync\4.18.0-3709383+++ue4+release-4.18\working\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:648]
```

**To Reproduce**
I still have not been able to nail down specific reproduction steps as this is one of those bugs that goes away as soon as you try to debug it. The times when this has happened, I was doing a workflow where I was adding/deleting an sk constructor by moving files into and out of the scripts folder and then reloading my project. This may or may not be a factor.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu với SkUEReflectionManager::add_instance_property_to_class() tại skuereflectionmanager.cpp:788, sau đó lần theo sync_all_to_ue() và FSkookumScriptRuntime::OnPreCompile() tại các dòng được báo cáo. Điều tra workflow khởi động editor và tải lại script liên quan đến các constructor Skookum được thêm hoặc xóa; được xem là hoàn tất khi assertion RF_NeedLoad/RF_NeedPostLoad/RF_ClassDefaultObject không còn xảy ra và có một trường hợp hồi quy có thể tái hiện.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
cpp, unreal-engine
Lĩnh vực
game-dev
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.