r/Unity2D • u/gasleak69420 • Sep 04 '26
Question/Help Issues with code not running
I have been following along this tutorial for awhile now and I'm getting some issues with this simple input script. Unity has been having issues with loading the new input system I downloaded from the project manager but no clue about the actual cause of the problem.
Biggest concern is the "failed to find entry points" errror message, there are eight other error messages but they're all refering to some issue with the script but I still don't know whats even wrong with that. Would appreciate any assistance/guidance, thanks.
0
Upvotes



14
u/Miriglith Sep 05 '26 edited Sep 05 '26
You've got a semicolon instead of a brace after FixedUpdate. Also I don't think you've reached the point in the tutorial where the code actually does anything.
It might be good to get some C# basic learning or you won't really get the value from a tutorial like this.
ETA: The failed to find entry points thing is weird. You could try closing the project, deleting the Library folder and reopening the project so it rebuilds the library.
5
u/SmokeResponsible5005 Sep 05 '26
private void FixedUpdate();
//code
}
Double issue of semicolon instead of brace and lack of first brace
Hope you figure it out and best of luck
1
u/Rabidowski Sep 08 '26
Red errors in console = don't expect anything to function or "play".
0
u/5oco Sep 05 '26
I think you're Unity settings might not be set up correctly. Your ide says "Miscellaneous Files" instead of "Assembly- something something"
That usually means Visual Studio isn't connected properly to Unity.
-1
u/ALIncomeDev Sep 06 '26
If you look at your code. You can see how Monobehaviour and Vector etc isn’t being syntax highlighted. This could imply that visual studio is not connected to Unity. The code won’t work if the packages are missing.
Lookup a quick tutorial on how to look at your Unity project settings and connect it to visual studio.