Comments (9)
它对应的类按道理应该是会被引用住的。请问下你们是否有强制GC了对应的UClass?
from sluaunreal.
它对应的类按道理应该是会被引用住的。请问下你们是否有强制GC了对应的UClass?
它所对应的类,正常使用下,不应该是被销毁了
from sluaunreal.
我们没有强制GC对应的UClass
我看是蓝图类对应的UClass以及其所属的UPackage都被销毁了,这种情况下UClass是怎么被引用的呢
from sluaunreal.
from sluaunreal.
有没有可能这里面Owner有可能不是UObject,可能Owner的Owner才是UObject
from sluaunreal.
大概率是这个原因了,感谢反馈!估计是在你这种嵌套情况下,它的直接Owner是非UObject,导致AddRef出了问题。我明天抽空修复下。
from sluaunreal.
Describe the bug 上述native类派生的蓝图类实例化后,发生上述函数的调用时,产生的LuaArray构造时传入的FProperty是UFunction(OnEnterView)下所属的一个FProperty 假如发生GC的时候,蓝图类被GC,UFunction及其所属FProperty被销毁,此时LuaArray内的inner有可能变为野指针
Version 2.1.3
哈喽,想请教一下,你的那个FSmartVisionInfo是怎么定义的?如何才传到Lua中的?我有同样的一个需求,发现无法通过const TArray& 传递到lua层中
from sluaunreal.
就是定义的USTRUCT,没什么特别的
from sluaunreal.
就是定义的USTRUCT,没什么特别的
大佬有空帮我看看下面的问题吗?
#589
from sluaunreal.
Related Issues (20)
- 请问支持ue5.2及5.3吗? HOT 6
- sluaunreal-2.1.2 中 MyGameInstance.h 导致编译报错 HOT 2
- ue5.2 编译报错 HOT 1
- tag2.1.2 http c++绑定不能用了 HOT 2
- DefLuaMethod 导出类方法编译失败 HOT 4
- vscode luapanda lua 代码辅助功能打开没有填写Cpp文件夹路径的选项 HOT 1
- C++调用callByUFunction 有异常崩溃 HOT 1
- cppbinding问题 HOT 2
- REG_EXTENSION_PROPERTY 使用无效 HOT 4
- Tick函数不会调用 HOT 1
- 小白问一个C++使用LuaFunction的问题 HOT 1
- lua中的self.bCanEverTick似乎不起作用?(真正用法是怎样的?) HOT 2
- 当在同一进程开启多个游戏时(即设置Number of Player >=2),为什么lua代码只执行一次? HOT 2
- 大大们,问一个小白的问题 HOT 1
- c++定义USTRUCT给lua使用,在C++中通过RPC调用lua代码时报错 HOT 4
- 打包slua,老报SafeDelete错误 HOT 2
- Undefined symbols for architecture arm64 HOT 7
- Undefined symbols for architecture arm64
- slua插件对mod加载以及Gamefeature的支持 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sluaunreal.