Minecraft-Unity3D icon indicating copy to clipboard operation
Minecraft-Unity3D copied to clipboard

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

Open ATXLtheAxolotl opened this issue 4 years ago • 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 .

ATXLtheAxolotl avatar Nov 27 '21 15:11 ATXLtheAxolotl

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: https://github.com/Technoguyfication/Minecraft-Unity3D/commit/27ff2b8c442d6c835f1650650bedf2c2474b552f

Technoguyfication avatar Jul 21 '22 20:07 Technoguyfication