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 /
This question was closed Dec 17, 2014 at 02:16 PM by Bunny83 for the following reason:

Problem is not reproducible or outdated

avatar image
0
Question by Alanj2007 · Dec 17, 2014 at 12:42 AM · errorshadermaterialmaintex

Material doesn't have a texture property '_MainTex' UnityEditor.DockArea:OnGUI()

I got this error after I lightmapping my scene, and I don't think the lightmapping works because it's just blank for me

Here's the screenshot

alt text

EDIT : I've heard that you need to restart Unity & PC, which I've done it, but didn't work. Another thing is that I need to re-edit shader to fix the errors, I don't know much about shader so I don't know which shader should I edit ..

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 Owen-Reynolds · Dec 17, 2014 at 02:10 AM 0
Share

Are you using any funny shaders? The error is telling you that some $$anonymous$$aterial is using an odd shader without a texture named "_$$anonymous$$ainTex." I think all the built-in shaders have one, so only if you added/imported some custom shaders. Or maybe you someone removed a shader from a material?

But that's just what it says. I've never gotten that error.

avatar image Alanj2007 · Dec 17, 2014 at 10:22 AM 0
Share

I used a lot of plugins that contained shaders, but there is one beta plugin I just deleted recently because I got s lot of shaders errors, it supposed to be imported in Unity 5, but I accidentally imported in Unity 4. I think this is the cause of it. Is there a way to fix this?

2 Replies

  • Sort: 
avatar image
0

Answer by Ericool · Dec 17, 2014 at 11:28 AM

Go see the shader and initialize it . The shader is trying to read a texture but there is none probably.

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 Alanj2007 · Dec 17, 2014 at 11:29 AM 0
Share

What shader? Which one? Can you explain it more because I have no knowledge at all about shader :/

avatar image
0

Answer by Alanj2007 · Dec 17, 2014 at 01:51 PM

EDIT : I've fixed it, It's just my issues with the plugins that I'm using. CLOSED

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

Follow this Question

Answers Answers and Comments

29 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

Related Questions

Error: Material doesnt have texture property. 1 Answer

Why does this material not turn invisible? 2 Answers

Errors with shaders/materials on newer iOS devices 1 Answer

Material/Shader issue 0 Answers

Material doesn't have a color property '_Color' 4 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