minecraft:shooter component throws content error about missing custom projectile definition
Partner Rank:
3
Partner Team Reporting:
Everbloom Studios
Verification builds:
1.16.0.55, 1.16.0.61
Summary:
The minecraft:shooter component throws a content error when defined to shoot an add-entity projectile, claiming that the projectile entity is not defined. The content error has the following format:
[Components][error]-<world> | actor definitions | <path to BP> | <shooter entity> | minecraft:entity | <json path to shooter component> | minecraft:shooter | def | 'def' value is invalid, no actor definition found by the name '<projectile entity>'
Despite this, the entity can shoot the custom projectile without any issues.
Impact:
While it doesn't affect any gameplay, content errors like these are likely to fail certification for future content, even though we have no way to get around this.
Repro Steps:
- Open a fresh copy of Ninja Mash-up with content logs enabled.
- Watch the content logs.
Observed Results:
This content error is shown when starting up (among others):
[Components][error]-Ninja Mash-up | actor definitions | <path to BP> | npc:citizen | minecraft:entity | component_groups | work_fisherman | minecraft:shooter | def | 'def' value is invalid, no actor definition found by the name 'nm:fishing_bobber'
Expected Results:
That particular content error shouldn't show, as nm:fishing_bobber is in fact defined.
Screenshots/Videos attached: Yes/No
Yes
Regression Builds:
1.16.0.53