Sprite for my character just disappeared and it showed me this error:
NullReferenceException: Max Size: SerializedProperty is null UnityEditor.EditorGUI.BeginPropertyInternal (UnityEngine.Re
Here is the script:
public void ShowPlatformSpecificSettings()
{
BuildPlatform[] validPlatforms = BuildPlatforms.instance.GetValidPlatforms().ToArray();
int shownTextureFormatPage = EditorGUILayout.BeginPlatformGrouping(validPlatforms, EditorGUIUtility.TrTextContent("Default"));
BaseTextureImportPlatformSettings.ShowPlatformSpecificSettings(m_PlatformSettings.ConvertAll<BaseTextureImportPlatformSettings>(x => x as BaseTextureImportPlatformSettings), shownTextureFormatPage);
}
You're referencing something that doesn't exist. The error should tell you what line of code it occurs on.
– ArachnidAnimal