Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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
1
Question by Triqy · Nov 12, 2012 at 01:21 AM · androidbuildshadersmobilespotlight

Spotlight Does not Show Up In Android Builds

I have a Spotlight set up as a flashlight for my player and when I play the game in the editor the spotlight works, but when I play my game with the mobile first person player on my phone in a build the spotlight doesn't work. The GammObjects in the scene seem to be illuminated on the Android build, but doesn't look as if it's a 'real' flashlight shining on all the GameObjects i have placed into the scene. Im using the standard shaders for the regular pc builds forthe mobile builds and not the mobile shaders for the materials. It used to work until I deactivated the children of the mobile first person player to set up the pc 'Normal' first person player to quickly test my game... Sorry for the long description. This as been bugging me all day now and I can't figure it out. Thanks for any help provided.

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

3 Replies

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

Answer by pad406 · Dec 16, 2012 at 12:20 AM

Hi, stumbled across your question when searching for the same problem myself. By trial and error I found that by setting the build quality higher, the spotlight works. Am working through the various settings to see at what stage it stops, but so far both fantastic and beautiful are working for me, but with performance implications. I've also noticed that I need the intensity on the spotlight a bit higher.

Good ok also

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
12

Answer by Laguz · Nov 25, 2015 at 08:56 PM

Hey, it's problem is "spot light" render!!

i think that you can see render -> (auto, important, not important) in spot light object

you must be setting "important", and then you can seeeeeee spot light in mobile, thanks

Comment
Add comment · Show 2 · 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 or113 · Jan 11, 2017 at 07:51 PM 0
Share

I would choose this method over changing the all build's quality setting.

avatar image tathagatabasu · Sep 17, 2017 at 06:01 PM 0
Share

Superb answer, This answer is the best solution I've tried without any performance implications.

avatar image
0

Answer by A_Savvidis · Jan 12, 2017 at 09:21 AM

If you read carefully the docs and combine the knowledge you will find out how to fix this. Most of the times (besides the important) it has to do with pixel light count (if I remember the name of the setting correctl) it's in the Quality settings. When in Realtime GI the default for mobile is usually set to 1-2. Thats is only 1 (or 2) lights contribute to the GI (Actualy what important does is LOCKS that light to be the one instead of the stronger/more visible one)

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

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

14 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How to fix spotLight problom in android ? 0 Answers

Android app won't install for 24 hours, install button bug 1 Answer

Best Workflow/Setup for Swapping Shaders based on Build Target 0 Answers

Android Building 1 Answer

Distribute terrain in zones 3 Answers


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