Topic: Game randomly Freezes , missingreferenceexception

MissingReferenceException : The object of type 'GameObject' has been destroyed but you are still trying to access it.
Your script should either check if it is null or you should not destroy the object.

I dont know why Im getting this. I didnt affect any code so im confused as to how this randomly started happening

Eternal Rift Studios
    Current Projects:
         Destined Soels
Always happy to help when possible. If its something pretty minor ill just help you out. But i do commissions as well. Hit me up if you need a commission.

Share

Thumbs up Thumbs down

Re: Game randomly Freezes , missingreferenceexception

Solved

Eternal Rift Studios
    Current Projects:
         Destined Soels
Always happy to help when possible. If its something pretty minor ill just help you out. But i do commissions as well. Hit me up if you need a commission.

Share

Thumbs up Thumbs down

Re: Game randomly Freezes , missingreferenceexception

This error normally happens when you have a "self destruct" script inside an effect or a projectile. If you need a self destruction script, use 'UFE\Engine\Scripts\DestroyScript.cs' instead.

Like UFE? Please rate and review us on the Asset Store!
Questions about the Forum? Check out our Karma FAQ.

Re: Game randomly Freezes , missingreferenceexception

I fixed it last night but thanks

Eternal Rift Studios
    Current Projects:
         Destined Soels
Always happy to help when possible. If its something pretty minor ill just help you out. But i do commissions as well. Hit me up if you need a commission.

Share

Thumbs up +1 Thumbs down

Re: Game randomly Freezes , missingreferenceexception

Yeah I was able to help with this issue.

Terrordrome Reign of the Legends Out now on Steam!!
https://store.steampowered.com/app/1291 … e_Legends/
Terrordrome Project Manager