Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
13 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 junkfreak · Sep 16, 2020 at 02:31 PM · iosinvisible

Gameobject invisible on iOS build

When i build my game project to iOS and i run the app it starts fine but when i press play the gamecard objects are invisible but they are interactable. Because this is a memory game and when you press 2 different cards you lose a live and i can press these card even tough they are invisible.

So far the Xcode log doesn't give errors and the issue is non existent on android and PC and i tried multiple things from different shaders and turning on settings to help building towards a iOS device.

So i wanted to ask if someone has any idea or experience in this situation.

Comment
Add comment · Show 2
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 Master109 · Sep 16, 2020 at 03:44 PM 0
Share

Renderers on GameObjects can appear invisible for multiple reasons. Here are some that come to mind:

  1. The Renderer is not enabled

  2. The GameObject is on a layer that is not visible to the relevant camera

  3. The GameObject's tag is "EditorOnly" and you are in a build (which you are)

  4. The GameObject is not active

  5. The Renderer is fully transparent

  6. The Renderer is a CanvasRenderer and the Canvas is disabled

  7. The Renderer is being drawn behind other objects

  8. The Renderer is being drawn off-screen

  9. The Renderer is masked

  10. The Renderer's shader is not fully supported on the device

Probably the pass that shader needs to display is not supported on the iOS device. Or maybe the code is making one of the first 9 true only if you are on iOS?

avatar image Master109 · May 07, 2021 at 07:18 AM 0
Share

Also, I forgot to mention: 11) The Renderer is a SpriteRenderer and is not displaying a sprite

Maybe it's number 7? The sorting order or sorting layer is incorrect? Maybe the render queue is incorrect? If you email me your project (gileadcosman@gmail.com), then I am sure I can fix it and I will post the answer (I will not post the actual project files).

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by junkfreak · Sep 18, 2020 at 04:48 PM

Ty for the response, i have been looking into your reasons and try to see but sadly i am not finding the issue with the first 9 reasons after checking and i am still looking at reason 10 by changing shaders and changing stuff like image type in unity because it seems iOS can be a little hard headed with this stuff. But so far still no solution and its really hitting my head hard. because i tried everything and searched everywhere but it just doesn't want to get fixed :( and there are so far i can see no errors in the build logs that could point me in some sort of direction.

Comment
Add comment · Show 1 · 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 Enthugames · Jul 28, 2021 at 07:27 PM 0
Share

Hi @junkfreak , have you found the solution? It is happening with me now and it has started pissing me off...

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

168 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 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 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 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 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 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 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 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 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 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 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 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

Some textures on iOS build are black?!?!?! 3 Answers

The name 'Joystick' does not denote a valid type ('not found') 2 Answers

Vanishing models on iOS 1 Answer

Renderer on object disabled after level reload 1 Answer

How do I create an invisible joystick that appears anywhere on the iOS screen? 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