I went inside the console and this is the error that is always there, i have no idea what to do, but if this help’s i’m learning to make a game off of the old Island demo which i had to update the files before i could open it and that even came up with error’s which popped up in a new window asking me to fix it, which i did and well im stuck here trying to test something, the only things i have added is Grass Texture which is fine, and a First Person Controller (Prefab) but none of these are/is the compiler error this is the error given in to the console
Assets/Scripts/UnderwaterEffects.js(23,46): BCE0022: Cannot convert ‘UnityEngine.GameObject’ to ‘float’.
Please could someone help me, i’m new to unity and looking forward to the result’s
can you put the script UnderwaterEffect.js or even the line number 23 ? /UnderwaterEffects.js(23,46):
– mamoniembut anyway it is not a big problem , you need to match your variable with the unity needs , this error means that you need to make a type of calculations between a GameObject & float !! and this is not convinent like you compare the speed of horse with the color of elephant !! you should match what you are going to compare .according to the example you need to match the speed of hores with speed of elephant or even color of horse with color of elephant
– mamoniem