Common Issues

A list of common issues and their resolutions

Errors / Issues

Asynchronous C# 4.0

https://i.imgur.com/E6zteIH.png

EditorUtility does not exist

  • Open up 'Assets\UnityMultiplayerARPG\Core\Scripts\Gameplay\BuildingSystems\BuildingObject.cs', on line 43 there is 'EditorUtility.SetDirty(gameObject);' just before that line add '#if UNITY_EDITOR' and just after it, add '#endif' so that it looks like this.

ErrorFix

Map server is not ready

  • Check the “MMOServerInstance” prefab in Scene 00Init_MMO and look for the field “Map Network Manager”. Make sure the “MapNetworkManager” GameObject from the hierarchy is there. If not, click and drag it from the scene hierarchy to the field within the inspector of the MMOServerInstance GameObject.

MMOServerInstance

Parent of RectTransform

If you are getting the warning message of the following often:

Parent of RectTransform is being set with parent property. Consider using the SetParent method instead, with the worldPositionStays argument set to false. This will retain local orientation and scale rather than world orientation and scale, which can prevent common UI scaling issues.

Locate UICharacterEntity.cs and UINpcEntity.cs. Change the line 'transform.parent = Data.UIElementTransform;' to instead read 'transform.SetParent(Data.UIElementTransform);'


Gameplay

Jump / fall while moving

  • If your character is randomly switching between the jump / fall state while moving, go to your characters animator and select the anystate. There is a condition in the transitions from anystate ->fall and jump you need to adjust the settings until they work for your animation / character.