LogicPlayer运行时TaskGraph连线丢失

Forum rules
Please isolate whether it is a problem with Unity itself or other assets before reporting.
Known issues are listed here: Known Issues
The information required to report a bug is as follows.
  • Logic Toolkit Version
  • Unity Version
  • How to reproduce

=======

日本語での投稿も受け付けています。

Post a reply

Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: LogicPlayer运行时TaskGraph连线丢失

Re: LogicPlayer运行时TaskGraph连线丢失

by caitsithware » 2024/09/02 10:51

感谢您的报告。
我检查并能够重现该问题,因此我将修复它。

临时解决方案
  1. 在代码编辑器中打开“Packages/Logic Toolkit/Runtime/Graph/Objects/SubGraphObject.cs”
  2. 如下更改第 83 行至 86 行。

Code: Select all

var owner = nodeGraphData.ManagedReferenceValue.Owner;
if (owner is LogicPlayer logicPlayer)
{
    owner = logicPlayer.Instance;
}
foreach (var weak in s_WeakManagedReferences)
{
    weak.ChangedId(owner, instance, changedIds);
}

LogicPlayer运行时TaskGraph连线丢失

by kvfreedom » 2024/09/02 10:01

5.png
5.png (22.34 KiB) Viewed 5380 times
4.png
4.png (22.82 KiB) Viewed 5380 times
3.png
3.png (21.67 KiB) Viewed 5380 times
2.png
2.png (21.52 KiB) Viewed 5380 times
1.png
1.png (18.19 KiB) Viewed 5380 times

Top