Null reference on dictionary with Unity's Text Localisation tutorial
Hi all,
I followed a unity tutorial on text localisation, but it doesn't work - I keep getting a null reference to the dictionary, even though the dictionary is loading and print statements show the correct keys, etc. when I try to load the text. First it seemed like it was because of the jump to a different scene. I altered the scripts so that I could select, load, and display the languages in the same scene. this worked once, but once only. Then it went back to the null reference. The error appears on line 53 in the LocalizationManager script which you can see on the tutorial page. It was last checked with version 5.5, so perhaps that has something to do with it?
The tutorial is at: https://unity3d.com/learn/tutorials/topics/scripting/localization-manager
If anybody has followed this and had the same problems, it'd be great to hear from you!