Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Malaclypse · Sep 20, 2011 at 04:24 PM · terrainbugparticleslights

Lights attached to objects turning off over terrain

Hi all. I think this is probably a bug in the engine, but I am new to using Unity and wanted to get your opinion before bothering the developers with a bug report.

I have "defenders" that get instantiated, and they instantiate projectiles, kinda like magic bolts or missiles. These projectiles are textured spheres made in unity that have a particle emitter and point light attached to them. They fly forward over a board composed of individual flattened cubes also made in Unity.

Everything works fine until the spheres pass the board and are over the terrain. At this point if only one projectile is over the terrain the light stays on. If 2 or more are past the board, only the first one has a light on. Even more confusing, the projectiles die automatically after 5 seconds, and once the one with the working light is destroyed, the light on another one over the terrain turns back on. The projectiles and board tiles have colliders but they do not touch each other.

Does this sound like a bug in Unity, or did I likely miss something stupid that I did?

Thanks in advance, guys...

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image
2
Best Answer

Answer by Malaclypse · Sep 21, 2011 at 01:05 AM

Under Edit->Project Settings->Quality there is a "Pixel Light Count" setting. Mine was set too low. Raising it fixed the problem.

Thanks to all who read my post.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by asafsitner · Sep 20, 2011 at 05:35 PM

Sounds like forward lighting to me. Try switching to deferred lighting. Edit -> Project Settings -> Player -> Other Settings -> Rendering Path

As for why they die off after 5 seconds, check your projectile code and collision. Maybe they don't die but instead go 'inside' the terrain?

Comment
Add comment · Show 4 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Malaclypse · Sep 20, 2011 at 06:29 PM 0
Share

Sorry, I can see now that I was unclear about the projectiles dying. They are set to do that automatically so they don't fly into space forever if they don't collide. I will definitely try the deferred lighting when I get home though and let you know. Thanks

avatar image asafsitner · Sep 20, 2011 at 07:04 PM 0
Share

Ah, I see. Got a bit confused myself. ^^

avatar image Malaclypse · Sep 21, 2011 at 01:00 AM 0
Share

Asafsitner, your answer did not solve the problem. I'm not sure if it just wasn't it, or if it is because I am using basic, and not pro. Your answer did lead me to the solution though, and I am greatful.

Thank you.

avatar image Malaclypse · Sep 21, 2011 at 01:38 AM 1
Share

I tried to give you a thunbs up, but my karma must be too low or something. If someone with more karma doesn't $$anonymous$$d, could you do it for me? Thanks

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Amounts of lights 1 Answer

Particle System & Pointlights over Sprites, Performance issues help -1 Answers

Terrain lights up at night (day-night cycle). 2 Answers

Bugs with Terrian. Unity 5.4.0f3 FIXED 0 Answers

Does anyone know how to fix this? Yellow texture on imported objects. 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges