• 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
0
Question by ABSZing · Aug 11, 2017 at 06:49 AM · shadermaterialvideobatchmodeautomation

Missing Hidden/VideoDecode material when building through TeamCity

Hi,

I am attempting to run a build through TeamCity but am unable to play videos in the app it produces.

When playing a video through the Unity Video Player I get these error messages:

 Could not find material Hidden/VideoDecode
  
 (Filename: C:/buildslave/unity/build/Runtime/Video/Base/VideoYUV420Convert.cpp Line: 803)
 
 Could not find video decode shader pass YCbCr_TO_RGB1 in shader <not found>
  
 (Filename: C:/buildslave/unity/build/Runtime/Video/Base/VideoYUV420Convert.cpp Line: 863)
 
 Could not find video decode shader pass YCbCrA_TO_RGBAFull in shader <not found>
  
 (Filename: C:/buildslave/unity/build/Runtime/Video/Base/VideoYUV420Convert.cpp Line: 863)
 
 Could not find video decode shader pass YCbCrA_TO_RGBA in shader <not found>
  
 (Filename: C:/buildslave/unity/build/Runtime/Video/Base/VideoYUV420Convert.cpp Line: 863)
 
 Could not find video decode shader pass Flip_RGBA_To_RGBA in shader <not found>
  
 (Filename: C:/buildslave/unity/build/Runtime/Video/Base/VideoYUV420Convert.cpp Line: 863)
 
 Could not find video decode shader pass Flip_RGBASplit_To_RGBA in shader <not found>
  
 (Filename: C:/buildslave/unity/build/Runtime/Video/Base/VideoYUV420Convert.cpp Line: 863)
 
 Could not find video decode shader pass Flip_SemiPlanarYCbCr_To_RGB1 in shader <not found>
  
 (Filename: C:/buildslave/unity/build/Runtime/Video/Base/VideoYUV420Convert.cpp Line: 863)
 
 Could not find video decode shader pass Flip_SemiPlanarYCbCrA_To_RGBA in shader <not found>
  
 (Filename: C:/buildslave/unity/build/Runtime/Video/Base/VideoYUV420Convert.cpp Line: 863)
 
 Could not find video decode shader pass Composite_RGBA_TO_RGBA in shader <not found>
  
 (Filename: C:/buildslave/unity/build/Runtime/Video/Base/VideoYUV420Convert.cpp Line: 863)

Note that this only occurs if I build through TeamCity.

When building manually (through Unity) there is no issue with video playback.

I understand that TeamCity runs in a different environment but apart from that, I don't understand why it cannot find a Unity internal material.

Thanks in advance.

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
5
Best Answer

Answer by karasusan · Aug 17, 2017 at 01:29 AM

Check your Graphic Settings and see "Always Included Shaders".

alt text


スクリーンショット-2017-08-17-102801.png (70.9 kB)
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 ABSZing · Aug 17, 2017 at 02:35 PM 0
Share

Well, that seem to do the trick. I will do more checks on this but from the first tests it seems to work.

Thank you very much!!!

Edit: Just for reference I'm going to leave a link to the forum post here as well. https://forum.unity3d.com/threads/unity-$$anonymous$$mcity-commadline-video-encoder-build-issue.487545/

avatar image WordDive · Jan 31, 2018 at 07:47 AM 0
Share

Attachment seems to have disappeared, but adding Hidden/VideoDecodeAndroid (in addition to Hidden/VideoDecode that was already there) to the Always Included Shaders seemed to do the trick for us.

We are using Fastlane/Jenkins and videos were not rendering on Android with the above Could not find video decode shader pass YCbCr_TO_RGB1 in shader <not found> message being logged. iOS builds were fine, as were the builds done manually from Unity.

avatar image
0

Answer by CoolDeimeTA · Mar 23, 2021 at 02:48 PM

Hey can anyone show me how to go to the settings like @karasusan did i cant find it

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 Ritwish · Apr 17, 2021 at 01:28 PM 0
Share

It's easy actually, you just have to go to Edit tab then click on Project settings and then Graphics settings.

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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

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

Memory leak updating Speedtree material properties 0 Answers

Specular Highlight Material Freaking Out! 1 Answer

Lightweight render pipeline causing sprites to render black 1 Answer

Need help with terrain shader 0 Answers

Similar looking base and globe model 0 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