Other
The 3D camera no longer exists
Hi, I'm new in unity and I'm working on a game right now. the problem is when I' load a level, some of the object just turn invisible. they are still exists in the new loaded level, but just not showing on camera. also I get this error during runtime :
"The 3D camera no longer exists...if you have changed scenes, ensure that SetCamera3D is called in order to set it up"
any idea how to solve this? thank you.
Solved, just add a script to my camera with this:
void Awake() {
DontDestroyOnLoad (gameObject);
}
thank you by the way!
Answer by Dave-Carlile · Sep 29, 2015 at 01:59 PM
Do you have a camera game object in the new level?
Answer by mjtaqizade · Sep 30, 2015 at 08:15 AM
@Dave yes, I still have it in the all levels, and all the spirits and other objects are well, except my line rendere turn invisible and I'm get that error.
Follow this Question
Related Questions
i cant see my camer 0 Answers
RenderTexture vs OnRenderImage & Shader 0 Answers
How do I assign MainCamera to a dynamically created primitive? 0 Answers