(HELP) Actor suddenly invisible when spawning.

Hi all,

I recently have encountered a very strange issue. After building my lighting and then closing the project, when I opened it again later on, some of my weapons that I have that spawn in are invisible when they spawn.

I did not change any code in the weapons themselves, I did not set there visibility to off or anything like that. They are visible and are spawning but are just not being rendered and I cannot see them in game. When I drag the same actors into the editor view I can see them perfectly fine.

Any suggestions are appreciated.

Thank you very much.

Kind Regards,
KoalaCaper.

Hey @KoalaCaper

how do you spawn your weapons? Are the weapons on the ground? What happens if you spawn them above the ground like 1m or something?

I am asking because it could be a collision problem.

Hi, the weapons do not have any collision enabled and the spawn in the player’s hands. I ran Print Strings in different parts of the code and the weapons are being spawned correctly, it tells me which weapon is spawned and where it is spawned and what socket it is attached to. The correct animation state is also selected and all the necessary code that relies on the weapon being spawned such as firing and reloading logic etc. are all working yet the gun remains invisible.

I have tried to spawn them in a different location without attaching them but they are still not visible.