V 1.1.0
问题描述:(以前的版本中没出现这个问题,另外,此报错并不影响游戏运行。)
新版本升级后,如果在根场景下直接生成一个物体,打开项目会出现报错。
(经过排查,发现错误出现的具体位置)
1 在物体下,生成BaseSettings,会生成2行报错。
2 在物体下,生成CollisionShape2D,又会生成2行错误。
3 如果删除BaseSettings 和 CollisionShape2D,讲不再报错。
4 如果不删除,用F5运行游戏,也会停止报错,不过重启项目依然会报错。
5 认为这是个BUG。
問題の説明:(以前のバージョンではこの問題は発生していません,また、このエラーはゲームの実行に影響しません。)
新しいバージョンがアップグレードされると、ルートシーンの下にオブジェクトが直接生成されると、プロジェクトを開くとエラーが発生します。
(調査の結果、エラーが発生した具体的な場所を発見)
1オブジェクトの下でBaseSettingsを生成すると、2行のエラーが生成されます。
2オブジェクトの下でCollisionShape 2 Dが生成され、2行のエラーが生成されます。
3 BaseSettingsとCollisionShape 2 Dを削除すると、エラーは発生しません。
4削除せずにF 5でゲームを実行すると、エラーの報告も停止しますが、再起動してもエラーが発生します。
5これはBUGだと思います。
Problem description:(This issue did not occur in previous versions,Additionally, this error does not affect the operation of the game.)
After the new version upgrade, if an object is directly generated in the root scene, an error message will appear when opening the project.
(After investigation, the specific location where the error occurred was found)
Under the object, generating BaseSettings will generate 2 lines of error messages.
Under the object, generating CollisionShape2D will generate 2 more lines of errors.
If BaseSettings and CollisionShape2D are deleted, there will be no more errors.
If not deleted, running the game with F5 will also stop reporting errors, but restarting the project will still result in errors.
thinks this is a bug.
BUG:生成物体报错问题.rar (181.5 KB)
最小复现:
1 下载并解压项目,加载。
2 打开项目后直接可以看到报错。(4条)
3 删除BaseSettings和CollisionShape2d节点,(每个节点减少两个报错。)
4 还没有追加其他节点测试是否会报错。
最小再現:
1プロジェクトをダウンロードして解凍し、ロードします。
2プロジェクトを開くとエラーが表示されます。(4条)
3 BaseSettingsとCollisionShape 2 dノードを削除します(ノードごとに2つのエラーを軽減します。)
4他のノードを追加してエラーが発生するかどうかをテストしていません。
Minimum reproduction:
Download and unzip the project, then load it.
After opening the project, you can directly see the error message. (4 articles)
Delete BaseSettings and CollisionShape2d nodes (reduce two error messages per node)
We haven’t added any other nodes yet to test if there will be any errors.

