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 Hoeloe · Sep 23, 2013 at 12:46 PM · editorbuildlightmaprender

Materials breaking in built project (but not in editor play mode)

I'm trying to build a project, exporting it as a standalone exe, and I'm having a slight issue. Most of the game is fine, but there is one specific object that renders really strangely. It doesn't do this in the editor, or in play mode, it's only in the standalone built object. It's an interactive cloth object, but not the only one in the scene, and the only one that breaks. It is also not lightmapped, where a lot of the rest of the scene is, but again it's not the only non-lightmapped object. I have absolutely no idea what could be causing this bug. It has two materials on it - both bump-mapped. One renders the front face, one renders the back face. Could anyone suggest what might be causing this bug?

The first image was taken in the built project, while the second is in play mode.

Comparison between build and play mode.

build mode messing up.png (231.9 kB)
Comment
Add comment · Show 6
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 Hoeloe · Sep 23, 2013 at 01:12 PM 0
Share

Did a little more testing - removing the normal map fixes it, but I'd rather not do that.

avatar image Hoeloe · Sep 23, 2013 at 01:19 PM 0
Share

The way the bright spots move, it looks to me like it's reacting to the point light in the lantern...

avatar image Hoeloe · Sep 23, 2013 at 09:12 PM 0
Share

I've deter$$anonymous$$ed, by moving the light, that if it is to do with that, then it's related to the light mapping - which is odd because neither the cloth nor the light is marked static, and the light does not appear in other lightmaps.

avatar image Hoeloe · Sep 23, 2013 at 09:23 PM 0
Share

I've also worked out that it applies only to this object, on all bumped materials, not just to this material. The mesh I'm using a custom plane imported from $$anonymous$$aya, giving me more polys in the area I need (and thus a better cloth simulation).

avatar image Hoeloe · Sep 23, 2013 at 09:49 PM 0
Share

Right, narrowed it down to the custom mesh being the cause. Really not sure why, though.

Show more comments

0 Replies

· Add your reply
  • Sort: 

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

15 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

Related Questions

Grass (terrain detail mesh) show in editor, not in build 3 Answers

Render layers differing between Editor and Build 2 Answers

Distribute terrain in zones 3 Answers

Shader does not display properly in game/editor view, but building it works. 0 Answers

Graphics.DrawTexture() not rendering on builded game (but it renders on Editor) 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