Error language

Report bugs of MFPS 2.0 here
Post Reply
User avatar
Benzitczo
New Member
New Member
Posts: 9
Joined: Sat Nov 20, 2021 4:46 pm

Problem how no idea mucho, and also check discord thanks
"NullReferenceException: Object reference not set to an instance of an object
bl_LobbyUI.OnLanguageChange (System.Collections.Generic.Dictionary`2[TKey,TValue] lang) (at "
User avatar
Lovatto
Admin
Admin
Posts: 1834
Joined: Sun Dec 07, 2014 3:18 pm
Contact:

Hi,

Try this:

In the bottom of the script bl_LobbyRoomCreatorUI.cs -> replace the getter property: public static bl_LobbyRoomCreatorUI Instance
with this:

Code: Select all

public static bl_LobbyRoomCreatorUI Instance
    {
        get
        {
            if (_instance == null)
            {
                _instance = FindObjectOfType<bl_LobbyRoomCreatorUI>();
            }
            if (_instance == null && bl_LobbyUI.Instance != null)
            {
                _instance = bl_LobbyUI.Instance.GetComponentInChildren<bl_LobbyRoomCreatorUI>(true);
            }
            return _instance;
        }set => _instance = value;
    }
How to find your Invoice Number: Here
How to find your Order Number: Here
Post Reply