Technoguyfication/Minecraft-Unity3D

UnassignedReferenceException: The variable Head of PlayerController has not been assigned.

Opened this issue · 1 comments

I was bored one day and decided to see if someone had made Minecraft in unity! Thank you for doing so. However I originally ran into the problem of account migration I simply solved this by hard writing the username into the code, as you can see in the following screenshot. However whenever I try to join the 1.13.2 server, I get the error "UnassignedReferenceException: The variable Head of PlayerController has not been assigned.", after further inspection there appears to be no head model inside the player controller
Screenshot 2021-11-27 105829
Screenshot 2021-11-27 105854
.

Hey, wow, sorry I didn't see this issue forever ago. What version of the game are you connecting to? If I recall correctly this only works on 1.13 servers. You might also want to go a handful of commits back because it might have broken in the last few commits. Sorry for the inactivity in this repo, starting school+work has left very little time for this project :(

Edit: I didn't see you mention what version of the game you were using. Try this commit instead: 27ff2b8