I have a massively annoying issue. A lot of buildings, when I create them, spawn with the "sphere" model attached to them. In no way can I figure out how in the hell this is happening.
When they are placed by the editor, they work fine, and there is no floating ball of death.
Some more information would be helpful. Are these buildings constructed, morphed, or pre-placed in the editor? The sphere usually means you have no actor properly assigned to the unit, or no model properly assigned to the actor. Check your unit actors' events too, pre-placed or spawned units need UnitBirth creation events, constructed units need UnitBirth or UnitConstruction, morphed units need AbilMorph events.
Also make sure no actors from completely unrelated setups are randomly interfering, for example an actor with an AbilMorph creation event, but without restricting Terms, will create itself when any morph happens, anywhere.
If these structures have a construction animation, check that those actors function properly too.
@TacoManStan: Go Look out for custom or edited actors with events that link to these buildings when they are created. Probably UnitBirth events where they shouldn't be.
As others said, an actor somewhere is creating itself on the UnitBirth.* or UnitConstruction.* event inside the buildings' actor scope (that is, attached to them). You only need to figure out which actor is creating itself. Here's a possible shortcut.
The sphere indicates that it can't find the model for whatever actor is creating itself when the buildings are created. It makes a sphere when it doesn't know what else to make. So look into the game's logs (in the Starcraft II folder inside My Documents) for recent events where it says that a model is missing. It should list which actor requested the model. Then you know.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I have a massively annoying issue. A lot of buildings, when I create them, spawn with the "sphere" model attached to them. In no way can I figure out how in the hell this is happening.
When they are placed by the editor, they work fine, and there is no floating ball of death.
HELP!
Great to be back and part of the community again!
Some more information would be helpful. Are these buildings constructed, morphed, or pre-placed in the editor? The sphere usually means you have no actor properly assigned to the unit, or no model properly assigned to the actor. Check your unit actors' events too, pre-placed or spawned units need UnitBirth creation events, constructed units need UnitBirth or UnitConstruction, morphed units need AbilMorph events.
Also make sure no actors from completely unrelated setups are randomly interfering, for example an actor with an AbilMorph creation event, but without restricting Terms, will create itself when any morph happens, anywhere.
If these structures have a construction animation, check that those actors function properly too.
Editor placed models work fine. It is only when they are built.
Great to be back and part of the community again!
@TacoManStan: Go Look out for custom or edited actors with events that link to these buildings when they are created. Probably UnitBirth events where they shouldn't be.
As others said, an actor somewhere is creating itself on the UnitBirth.* or UnitConstruction.* event inside the buildings' actor scope (that is, attached to them). You only need to figure out which actor is creating itself. Here's a possible shortcut.
The sphere indicates that it can't find the model for whatever actor is creating itself when the buildings are created. It makes a sphere when it doesn't know what else to make. So look into the game's logs (in the Starcraft II folder inside My Documents) for recent events where it says that a model is missing. It should list which actor requested the model. Then you know.