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 /
  • Help Room /
avatar image
3
Question by OnlyFails · Jan 09, 2017 at 07:19 AM · issues

GL.End requires material.SetPass before! - Error Message

Hey so I started getting this error from a custom shader I was working on so I scrapped it thinking I did something wrong and I bought an asset off the store and it had the same error message so then I created a new standard unity terrain from the editor with no custom stuff on it and the same error occurs only to go away when I deactivate the GameObject causing the error.

The console is literally no help, it just says "GL.End requires material.SetPass before!" and if you click on it instead of taking you to the error code it does nothing and leaves you in the editor.

I've also searched google for this problem, but I'm guessing either Google's search algorithm doesn't work (Which I don't believe) or no one else has this problem on their Unity

Is it okay to leave this error in the game or is it a major Unity bug?

EDIT: After some testing I found out that if I remove GrabPass {} from the shader code the error goes away but now I don't have a GrabPass, it seems to be bugged? Is there a work around for GrabPass {} in the shader code?

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 hellaeon · Jan 17, 2017 at 11:57 AM 0
Share

Hey mate, did you find a solution for this?

Cheers

6 Replies

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

Answer by Assustado · Mar 26, 2017 at 08:21 AM

I switched platform to android and it solved.

Comment
Add comment · Show 4 · 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 DavidSWu · Apr 05, 2017 at 03:30 AM 0
Share

Same problem with Unity 5.6.0f3 [edit] It is fixed, I just needed to remove the Camera in SVG Import Tools

avatar image HECer DavidSWu · Apr 10, 2017 at 01:07 PM 0
Share

I am still fighting against this error with SVG Importer. I am also using Unity 5.6.0f3. Can you provide me how you resolved it? I cannot find any camera.

avatar image DavidSWu HECer · Apr 10, 2017 at 03:44 PM 1
Share

In SVGAtlas, AddFakeCamera I set "camera.enabled=false;" I also set camera.enabled=false on any dummy cameras created elsewhere (in my case ViveControllerInput) but I am not sure if that is necessary. i.e. I did a search on references to AddComponent and disabled all fake cameras.

Hope that helps,

$$anonymous$$ Wu

Show more comments
avatar image
-2

Answer by jwvanderbeck · Feb 12, 2017 at 09:13 PM

Having this same issue as well and I have no idea what is causing it. I too am in the 5.6 beta, but not using any terrain or VR stuff. However it does appear that the problem is only appearing in a test scene I have where I was playing with multiple cameras, so that might be related?

As stated though the console is absolutely useless in helping you find the issue.

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
-3

Answer by leegod · Jan 25, 2017 at 02:03 PM

I am experiencing same problem.

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
-3

Answer by davidhaley · Feb 25, 2017 at 10:17 PM

I have the same problem.

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 hellaeon · Feb 26, 2017 at 07:54 AM 0
Share

Hi there, when replying to a question with a comment, please use the

add comment

under the original question. Don't supply comments as answers.

Cheers and beers

avatar image
0

Answer by hellaeon · Jan 25, 2017 at 09:26 PM

Mine was using SteamVR with Unity 5.6, I solved it by rolling my project back to 5.5. I am fortunate in that I was not using any specific 5.6 only features.

Cheers

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

94 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 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 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

The name 'Player' does not denote a valid type ('not found') 1 Answer

Set transitions not working with right click in Mac 0 Answers

Loading previously saved terrains is slowing down frame rate 0 Answers

Buttons Not Working? PLEASE HELP!!!!!!!!!!!! 0 Answers

How do I file a bug? Issue Tracker web page does not seem to have UI for that. 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