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 Ereptor · Oct 08, 2013 at 07:40 PM · errortexturedebugstandalonemissing

Texture disappears in standalone (fine in editor)?

Hi everyone,

I'm having an unusual problem. I have a game that has always done just fine at a particular task: scrolling instruction textures upward on instruction segments of the game. These are not GUI based, they are placards in the game environment. They scroll upward through a speech bubble attached to a character in the scene.

I recently added a single scene to the beginning of the game which asks for a password before either loading the game title or closing the executable. I also upgraded Unity (from 4.1.5 to 4.2). Neither of these had me working at all in the scenes which required text scrolling, nor did I touch any code associated with text scrolling.

Yet! Now the text placards are blank and appear bring pink/magenta in-game, symbolizing no texture is applied. In the editor everything runs just right. In the standalone, after build, they are missing.

After checking the log, I found an additional line that doesn't appear in my in-editor log. After each card is loaded there is a:

 (Filename: C:/BuildAgent/work/cac08d8a5e25d4cb/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)

Does this mean anything to anyone? I'm not sure what to change. Like I said, in the editor, everything works absolutely right.

Thanks for your help!

Comment
Add comment · Show 3
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 DarkPixel · Oct 08, 2013 at 07:48 PM 0
Share

$$anonymous$$aybe a missing/unresolved material/shader. Do you use the Shader.Find() function?

avatar image Ereptor · Oct 08, 2013 at 07:54 PM 0
Share

No. I have a script that has a Texture 2D array. I use the Inspector to assign textures to the proper slots in the array.

The script cycles through this array as it cues text cards.

These work properly in the editor, and have worked properly in the game up until now.

avatar image DarkPixel · Oct 08, 2013 at 08:29 PM 0
Share

Try putting your texture in a Resources folder. If it work, your texture are not referenced correctly

1 Reply

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

Answer by Ereptor · Oct 08, 2013 at 08:44 PM

I solved my problem! I just had to downgrade from Unity 4.2.1 to 4.1.5.

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 Ereptor · Jan 14, 2014 at 10:47 PM 0
Share

It seems that I'm having to return to this problem. I've had to go back to this file to make some changes with my new Unity 4.3.3 and the only solution I EVER found to my problem was to downgrade to 4.1.5. (While looking for a solution online, I found this post which I forgot about.)

I downgraded to 4.1.5 and re-imported my project from 4.3.3 and it turned to jumbled garbage. I had to fall back on my most recent back-up, fortunately only losing about a week of work. Now I'm going back and forth between 4.2.1, 4.1.5, and 4.3.3 and I haven't yet found a solution (though I have created many buggy, defected attempts).

The issue is simple: textures appear in-place in the editor. They are properly referenced, and accessible within the project folder: Assets/$$anonymous$$aterials/TextCards. When publishing to the executable file, the textures disappear and display as pink.

Any idea how to solve this in 4.3.3 and up? Downgrading my project causes it to lose data and become worthless.

avatar image Ereptor · Jan 14, 2014 at 10:51 PM 0
Share

I also noticed that removing the files breaks the link, and replacing them mends it. When the files are put back in the right place, a filename.png.meta file is created for each image. Is this important?

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

16 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

Related Questions

Unity Text Showing Up as Black Squares With Lines 1 Answer

Facebook sdk and PC Build? -1 Answers

[HELP!!] Files all missing while I update the version from Unity 2018.3.12f1 to Unity 2019.1.4f1 0 Answers

Image texture error 1 Answer

Missing component exception in unity. there is no animation component attached but a script is trying to access it. 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