无法查看编辑器中序列化列表的首次输入
我正在为特定字符的序列化对象存储攻击列表,例如:
但是,当折叠列表的第一个条目时,它似乎会出现错误并表现出不正确的行为,渗入下一个元素。列表中的其他元素按预期正常工作。
当使用具有列表或数组字段的序列化对象时,我一直注意到这一点,作为其序列化数据的一部分。我尝试了列表和数组,并且发生了同样的事情。我不认为这是在2018年的时候发生的,主要是自切换到2021.3.xf系列以来的主要开始发生的事情,
是否有已知的构建可以解决此问题?还是我需要设置一些属性来表示有关该领域的统一性?
I'm storing a list of attacks on a serialized object for a particular character, like so:
However, when collapsing the first entry of the list, it seems to bug out and behaves incorrectly, seeping into the next elements. Other elements in the list work correctly as expected.
I've been noticing this pretty consistently when working w/ serialized objects that have a list or array field as part of their serialized data. I've tried both lists and arrays and the same things happens. I don't think this happened when I was on 2018, and mainly started happening since I switched to the 2021.3.xf series
Is there a known build that fixes this? or is there some attribute I need to set to signal Unity about the field?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
抓住了一个新的版本,它似乎在2021.3.5f中固定。要标记为答案,这是一个统一的错误
Grabbed a new build and it seems fixed in 2021.3.5f. Gonna mark this as the answer, it was a unity bug