• 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
Question by Boedi · Jun 16, 2017 at 11:24 AM · error messageerror builderror-message

Issues when trying to build game 'Error building Player because scripts have compile errors in the editor'...

Hellloo, I'd be ever so grateful for some help here...

So I'm a music student, currently finishing my masters, I'm developing bio-physiological music for video game immersion. In all honesty, I can just about understand javascript and am best off when I'm undertaking visual programming. I've rarely used unity, however I know I can send MIDI date into it, so it's the best platform for my current project, as it can communicate easily with Processing.

So, I've been looking for a game to edit the sound for, I came across an array of shared source code for games in unity, although I honestly have no real idea how to go about building/running the game, I have gotten as far as loading in the package, and loading what is called a MainMenu.unity. Some of you may have heard of this game it's called 'Shadow Gun'... However, when following instructions from various tutorials and from the pdf provided by the maker. I get stuck at trying to 'build and run' the game.

I've copied across the list of errors, in the hopes that any of you may offer any advice, I'd really appreciate it!!!!

Shader error in 'MADFINGER/Environment/Cubemap specular + Lightmap': invalid subscript 'lmap' 'Sample': no matching 2 parameter intrinsic method; Possible intrinsic methods are: Texture2D.Sample(SamplerState, float2|half2|min10float2|min16float2) Texture2D.Sample(SamplerState, float2|half2|min10float2|min16float2, int2) Texture2D.Sample(SamplerState, float2|half2|min10float2|min16float2, int2, float1|half1|min10float1|min16float1) Texture2D.Sample(SamplerState, float2|half2|min10float2|min16float2, int2, float1|half1|min10float1|min16float1, out uint status) at line 112 (on glcore)

Compiling Vertex program with UNITY_SHADER_DETAIL_LOW Platform defines: UNITY_ENABLE_REFLECTION_BUFFERS UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP SHADER_API_DESKTOP UNITY_COLORSPACE_GAMMA

Shader error in 'MADFINGER/Environment/Cubemap specular + Custom Lightmap + fake bump': invalid subscript 'lmap' at line 77 (on glcore)

Compiling Vertex program with UNITY_SHADER_DETAIL_LOW Platform defines: UNITY_ENABLE_REFLECTION_BUFFERS UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP SHADER_API_DESKTOP UNITY_COLORSPACE_GAMMA

Request error (error): UnityEditor.AsyncHTTPClient:Done(State, Int32)

Error building Player because scripts have compile errors in the editor

I think some of the errors are due to the game being old and unity being newer/updated now, thanks again for any info!!

  • Bev

Comment

People who like this

0 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 hexagonius · Jun 16, 2017 at 06:24 PM 0
Share

Few shaders are broken/ outdated. They are under MADFINGER/Environment/ and then the cubemap shader.

avatar image Boedi hexagonius · Jun 19, 2017 at 07:30 AM 0
Share

How would I go about fixing these?

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.

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

66 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

Related Questions

,why cant i build my project 0 Answers

WebGL,WebGL error 0 Answers

error CS0111: Type 'PlayerController' already defines a member called 'Update' with the same parameter types 1 Answer

OperationCanceledException: Failed to prepare target build directory. Is a built game instance running? 0 Answers

Error While Build APK Signed,Error while build APK Signed. 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