In my version of the Survival Shooter, I am trying to Build the game so that others can play what I have created. Only problem is that I continue to get an error that says,
when it tries to Build the game. I have followed the instructions within the tutorial videos and did exactly what was expected of me. I did have an earlier problem with the game that caused me to have to get tech support assistance, but other than that it works fine until I tried to Build the game. I know it is not that the scripts have a unique code that should not be there, so what is the problem?
Is that really the only error in the console?
There are some errors that appear when I open up the game, but I know that everything in the game is set up correctly so I don’t know why they show up.
That means one of your scripts has errors. If you don’t see any, make sure you can view all errors in the Console and fix them before trying to build again.
What are the errors? If they are marked as red, they are critical and need to be fixed.
Okay, now I understand. I am new to this. Here are the five console error messages; I really appreciate your help.
Error #1
NullReferenceException: Object reference not set to an instance of an object
UnityEngine.UI.Graphic.OnRebuildRequested () (at C:/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/Graphic.cs:480)
UnityEngine.UI.Text.OnRebuildRequested () (at C:/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/Text.cs:550)
UnityEngine.UI.GraphicRebuildTracker.OnRebuildRequested () (at
C:/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/GraphicRebuildTracker.cs:33)
UnityEngine.CanvasRenderer.RequestRefresh () (at
C:/buildslave/unity/build/artifacts/generated/common/modules/UI/CanvasRendererBindings.gen.cs:314)
UnityEditor.HostView:OnGUI()
Error #2
Assets/Scripts/Managers/GameOverManager.cs(9,12): error CS1519: Unexpected symbol `Animator’ in class, struct, or interface member declaration
Error #3
Error building Player because scripts had compiler errors
Error #4
Assets/Scripts/Managers/GameOverManager.cs(9,12): error CS1519: Unexpected symbol `Animator’ in class, struct, or interface member declaration
Error #5
NullReferenceException: Object reference not set to an instance of an object
UnityEngine.UI.Graphic.OnRebuildRequested () (at C:/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/Graphic.cs:480)
UnityEngine.UI.Text.OnRebuildRequested () (at C:/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/Text.cs:550)
UnityEngine.UI.GraphicRebuildTracker.OnRebuildRequested () (at
C:/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/GraphicRebuildTracker.cs:33)
UnityEngine.CanvasRenderer.RequestRefresh () (at
C:/buildslave/unity/build/artifacts/generated/common/modules/UI/CanvasRendererBindings.gen.cs:314)
The second one a compilation error, which needs to be fixed before building. What is in GameOverManager.cs (especially around line 9)?
I apologize for getting back at such a late time. I snapped a screenshot to show you: 
Line 6, missing a “;”
Ok, I will make the adjustments. About the other errors, what could I do to fix them? And I want to say again, thank you very much. I was seriously searching through all of the scripts to figure out what had happened to no avail.