- Home /
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
Few shaders are broken/ outdated. They are under $$anonymous$$ADFINGER/Environment/ and then the cubemap shader.
Your answer
Follow this Question
Related Questions
,why cant i build my project 0 Answers
WebGL,WebGL error 0 Answers
Unity Gradle Build Failed 0 Answers
Hello when i change mono to IL2cpp then some error occured. How to fix these error please help 1 Answer