Problems with Laser Defender: tutorial 108

I already created a quad at the beginning of the tutorial. After doing so, only the static enemy and it’s bullets can be seen. My player disappears after a few seconds, and I can see the bullets of the moving enemies OUTSIDE the design window going to the bottom OUTSIDE the screen at the bottom. Why is the quad blocking everything? The quad is at level 0. Can anyone help?

Hi,

Welcome to our community. :slight_smile:

What do you mean by static? Static objects are not supposed to be moved in Unity.

Regarding your disapparing player, is he still in the Hierarchy? If not, it probably destroyed itself. This will get fixed in the lecture named “Layer Collision Matrix”. If it is in the Hierarchy, make sure the z-position of your background is set to 10, the camera’s to -10 and the player’s to 0.

Nina, You did not check my Q& A in udemy. When i removed the quad, everything works properly. Only the quad is creating all the problems. From the playing around i did, i suspect the level layer number is the problem. When i click on 2d following what the unity development team told me earlier, I can see all my objects - moving enemies, the bullets and my player. They disappear or might be behind the quad. So it’s some characteristics to do with the quad that I believe is the problem.
By the way, may I ask which is easier for you - here or in udemy? (i have been here before, I lost my login / password since the last time.)

Issue solved. There were a few things that didn’t seem to work the first time.

  • quad coordinates changed following tutorial.
  • player level was resetted and changed on its own (not sure why this happened). this caused the player to disappear suddenly.
  • i had to re-create a new quad.
  • Report sent to unity development team to check if quad issue is bug or not.

I usually do not provide support at the weekend. If I check our forum on GameDev.tv on Saturday or Sunday anyway and if you would like to get an answer from me if I notice one of your threads at the weekend, please refrain from answering with “You did not check my Q& A in udemy” unless you want me to check that thread. In that case, I will check that thread on Monday or Tuesday depending on how many open tasks there are on our list for the daily support.

I cannot learn every thread by heart. We have more than 250,000 students to support and thousands of threads. I neither know your username on Udemy, nor do I have time to compare this thread here with thousands of threads on Udemy to figure out whether one of them might be yours and if it might contain additional information on your problem.

When I read a thread, I try to help based on the information given in that thread. If you post the same question in different threads, please make sure that both threads contain the same information. You may post your question either here or over on Udemy. That’s up to you. If you post it on both platforms, it would be helpful if you could also post a link to the other thread in your respective thread. Then I don’t think that two different students asked the same question.

Unfortunately, links still do not work for us teaching assistents on Udemy due to a bug. For this reason, if you post a question on Udemy and here, please also mention the title of your other thread here. This way, I have a chance to find your other thread.


I’m glad you solved the problem. Unity’s components are sometimes buggy, so removing and recreating a component or even the entire game objects often fixes issues. :slight_smile:

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms