79165325

Date: 2024-11-07 07:02:20
Score: 1.5
Natty:
Report link

It seems like there's two different enemyPrefab you are referencing. You should remove the line:

instance.name = enemyPrefab.name;

Can you include a screenshot how you reference the enemyPrefab? either in script or in inspector. Also a screenshot of the actual prefab in your project.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Dave Victorino