LoginSignup
0
0

More than 3 years have passed since last update.

Unity Exploderアセットで、"Tag: Exploder is not defined."とでる場合

Posted at

image.png
Exploderアセットで、

  • Exploder Object
  • Exploder Singleton

この2つがあればいいと思っていたのですが、
何かのタイミングで

Tag: Exploder is not defined.
というエラーが頻発するようになり、
デモシーンを確認するとFragmentというスクリプト使っているようなのでこれも置くようにしたら、
エラーがなくなりました。

ただ、このfragment何もしなくても、問題なく生成される場合もあるので、なかなか気づかない。

Fragmentスクリプトを追加すると
image.png

改善されました。

TIPS

また、exploderアセットを使う場合、処理負荷が気になったところ、
破壊対象はすべてExploderタグをセットしておくと処理負荷が軽減されました。
(もともと楽してsingletonで消していたので、破壊対象が多い場合かなり違う)

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0