复现方法:
导出游戏后骨骼对象消失后游戏崩溃bug.rar (658.1 KB)
1.导出游戏
2.打开.console.exe
3.按Z键生成骨骼对象
4.等待3秒
5.注意左侧控制台报告
bug描述:
1.骨骼对象的节点上面带有着一个对象(例png图片)

2.预先放置在场景内的骨骼对象会正常消失(例gif)
3.在agm编辑器里面是正常的
4.导出游戏后如果其他对象生成这个骨骼对象
5.骨骼对象执行消失动作后就会报 ‘[26] <couldn’t map PC to fn name>’
6.然后游戏崩溃
///
EN:
Steps to reproduce:
-
Export the game.
-
Run
.console.exe. -
Press Z to spawn the bone object.
-
Wait 3 seconds.
-
Observe the console output on the left.
Bug description:
-
The bone object has another object attached to its node (e.g., a PNG image).
-
Bone objects placed in the scene beforehand disappear normally (e.g., GIF).
-
Everything works correctly in the AGM editor.
-
After exporting the game, if another object spawns this bone object…
-
…when the bone object plays its “disappear” animation, it throws the error:
[26] <couldn't map PC to fn name>. -
The game then crashes.
///
再現手順:
-
ゲームをエクスポートします。
-
.console.exeを実行します。 -
Z キーを押してボーンオブジェクトを生成します。
-
3 秒待ちます。
-
左側のコンソール出力を確認します。
バグの説明:
-
ボーンオブジェクトのノードに別のオブジェクトがアタッチされています(例:PNG 画像)。
-
事前にシーンに配置されたボーンオブジェクトは正常に消えます(例:GIF)。
-
AGM エディタ内では問題なく動作します。
-
ゲームをエクスポート後、他のオブジェクトがこのボーンオブジェクトを生成した場合…
-
… ボーンオブジェクトが「消える」アニメーションを再生すると、次のエラーが発生します:
[26] <couldn't map PC to fn name>。 -
その後ゲームがクラッシュします。
