Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 EDemorro · Sep 12, 2016 at 04:11 PM · shadertexturematerialbugstartup

Scrambled textures on first run of game only.

Hi there.

I'm having this problem where in the desktop build of the product we're developing, the diffuse textures of a lot of the objects will have what seems to be the lightmap textures for the level applied to them. You can find a screenshot below. alt text

This is what it is supposed to look like, and looks like on each subsequent launch alt text

The tricky thing is, this only every happens on the very first run of the application on a fresh PC or User account. For example, i can go to a fresh PC, launch the .exe, the textures will be scrambled (this persists between scene loads,) then I close the game and reopen it, and everything is as it should be. From then forward the textures are always perfect.

I have tried to clear as much cache data from .appdata relating to the game as I can find to try and reproduce this issue, but so far havn't found any other reproduction method other than making a new user account/going to a new PC.

I've tried Preloading shaders/preloading assets, innumerable different build settings, rebaking all the lightmaps, just everything I can think of. I'm stumped to be honest.

Interestingly, if I change the graphics order to start in DX9 instead of DX11 by default, the game will crash on first run rather than showing garbled textures. Still fine on each subsequent run though.

You can imagine how much a pain to test this is, so any help will be appreciated.

brokencaledon.jpg (273.4 kB)
workingcaledon.jpg (231.5 kB)
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
0

Answer by EDemorro · Sep 13, 2016 at 12:29 PM

If anyone comes across this, my issue was solved with a FULL rebake (delete all lightmaps, remove the library file, reopen unity, hit the bake button, wait 10-thousand years.)

I know it's not the best solution as to WHY this was happening, but it did work, although I swear I'd done that before...

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 andywillers · Oct 01, 2021 at 10:16 AM

Thanks for sharing, no doubt word mystery solving is a big game that can strengthen your brain a lot. Specially, when you are working hard on this. And tangled in a situation then unscrambles will help you to git rid of this situation.

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Problem using multiple materials 0 Answers

Standard material shader ignoring SetFloat property "_Mode"? 1 Answer

How can I activate a shader at specific times? 2 Answers

Double Layer Material 0 Answers

Changing Eye Colour (Colour only non-white parts of a texture?) 2 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