-
Notifications
You must be signed in to change notification settings - Fork 425
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LuaArray中inner变量被销毁后,AddReferencedObjects访问inner野指针崩溃的问题 #587
Labels
bug
Something isn't working
Comments
它对应的类按道理应该是会被引用住的。请问下你们是否有强制GC了对应的UClass? |
我们没有强制GC对应的UClass |
就是定义的USTRUCT,没什么特别的 |
大佬有空帮我看看下面的问题吗? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
上述native类派生的蓝图类实例化后,发生上述函数的调用时,产生的LuaArray构造时传入的FProperty是UFunction(OnEnterView)下所属的一个FProperty
假如发生GC的时候,蓝图类被GC,UFunction及其所属FProperty被销毁,此时LuaArray内的inner有可能变为野指针
Version
2.1.3
崩溃堆栈
The text was updated successfully, but these errors were encountered: