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
0
Question by JustSomeGuy · Feb 14, 2014 at 07:51 PM · pink

Game ok in editor, pink screen on build!

We are doing an interactive architectural visualization project. There are hundreds of objects along with materials and textures. All of our textures are huge in sizes, minimum 1024x1024 and max 4096x4096. I have run into a situation where once the project is built, I start it and the whole screen displays pink. In the editor I can play fine with no issue. To solve this problem, I have to downscale some textures and do a rebuild at which point it runs fine.

It seems to me that we are hitting some sort of memory limitation. It is clearly not a shader problem, as I mentioned when the textures are lowered it runs fine. Any ideas? We are confortable with Unity and would hate to go back to UDK, however, we did not experience such issues with UDK.

We need these textures high rez, it is an architectural visualization project which demands it. There is no option to reduce object and or texture sizes. It's interesting to note, we are running the project on a laptop at great fps, but for some reason it feels as though we are hitting some restrictions. Graphics card makes no difference, as it behaves the same on laptop as well as desktop with a fairly decent geforce 560TI. Thanks for any input.

Comment
Add comment · Show 1
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 Duuhannes · Apr 25, 2017 at 05:31 AM 0
Share

I had the problem with Canvas. I went to project settings -> graphics and reseted it. That worked for me.

7 Replies

· Add your reply
  • Sort: 
avatar image
13

Answer by AdnanSiddique · Aug 17, 2017 at 09:27 AM

This is due to missing shaders in graphics settings of your project. reset shaders and your game will work fine, i found this effective in my casealt text


graphicssetting.png (44.6 kB)
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 SentreStage · Jan 29, 2020 at 10:40 PM 0
Share

Had to downgrade from 2019.3.0f5 due to a Unity bug with iOS, back down to 2019.2.19f1 and it fixed my main issue, but also ran into this problem where it had missing references for the first 6 out of 9 shaders in the Always Included Shaders list. Thanks for this answer!!!

avatar image
6

Answer by SirDef11 · Oct 06, 2017 at 03:19 PM

Yes, reset them : " Edit/ProjectSettings/Graphics. And Right Click at the top of the inspector page for built-in shaders and choose reset it should fix it for you automatically. "

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 Flicker_ · Oct 08, 2017 at 03:10 PM 0
Share

Resetting the shaders worked for me. Thank you!

avatar image Aggressor · Jul 23, 2020 at 01:49 PM 0
Share

This also worked for me it seems like after various version updates something got corrupted.

avatar image
1

Answer by astracat111 · Mar 11, 2018 at 04:23 PM

This happened to me when I switched to OpenGL GLES 3.0 on windows, but was working when I was using DirectX11 (although DX11 is going slow so I'm gonna try another OpenGL).

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 Foxxis · Feb 14, 2014 at 08:16 PM

Run the profiler and check how much memory you are actually using. Also, compare your quality settings in the editor with those used when running the built application. Also, check the log output of the Unity Player (most easily found via Console if you are on a mac, not sure where to find it on a PC).

Comment
Add comment · Show 3 · 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 JustSomeGuy · Feb 14, 2014 at 08:36 PM 0
Share

I did two builds, one that i know will work and the other that I knew will fail. The only difference between the two versions was that 5 of the 4$$anonymous$$ maps were dropped down to 1$$anonymous$$. It doesn't matter what textures are down rezed as long as a few are it works ok.

The difference in the log was that the one that didn't work was complaining about "The referenced script on this Behaviour is missing!" I am not sure what this has to do with anything, maybe at some point it just can't load anything?

Again just to clarify, two builds, one with 5 textures at 4$$anonymous$$ the other with those same textures at 1$$anonymous$$. The 1$$anonymous$$ works while the other pink screen. Everything else is identical.

EDIT: And to be clear, it's 5 randomly chosen textures. I'm not implying that I only have 5 textures in total within the project. There are hundreds.

avatar image JustSomeGuy · Feb 18, 2014 at 08:44 PM 0
Share

Here are the results of running profiler.

 $$anonymous$$emory:
 Used Total:0.61GB
 Unity: 2.29GB
 $$anonymous$$ono: 6.0$$anonymous$$B
 GfxDriver: 2.25GB
 Total System $$anonymous$$emory Usage: 3.17GB
 
 Textures: 1586 / $$anonymous$$
 $$anonymous$$eshes: 270/405$$anonymous$$B
 $$anonymous$$aterials: 392 / 392.2$$anonymous$$B
 Assets: 6331
 GameObjects in Scene: 306
 Total Objects in Scene: 1629
 Total Object Count: 7960
 
avatar image TwoTen JustSomeGuy · May 30, 2016 at 08:05 PM 0
Share

Hello! I know this thread is dead. But I'm having the same issue. Has there been a fix?

avatar image
0

Answer by eganki · Nov 13, 2020 at 05:48 PM

You can try to create a new camera to replace the current one. I encountered this issue after download numerous plug-ins/assets and somehow, it only affects the build version but not in the editor.

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
  • 1
  • 2
  • ›

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

32 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

Related Questions

Particle Explosions are Purple 2 Answers

Why is my terrain pink when I run it on my android? 1 Answer

Material becoming pink while using DontDestroyOnLoad 0 Answers

Colors in Hierarchy 1 Answer

2D pink squares instead particle texture 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