Author Topic: Unity 2019.3.5f  (Read 30 times)

elle

  • Newbie
  • *
  • Posts: 16
    • View Profile
Unity 2019.3.5f
« on: March 16, 2020, 03:17:31 PM »
Getting this error:

Code: [Select]
IndexOutOfRangeException: Index was outside the bounds of the array.
UnityEditor.MaskFieldGUI.GetMenuOptions (System.Int32 mask, System.String[] flagNames, System.Int32[] flagValues, System.String& buttonText, System.String[]& optionNames, System.Int32[]& optionMaskValues, System.Int32[]& selectedOptions) (at <887a438259064e89922419bc7b8810ab>:0)
UnityEditor.MaskFieldGUI.DoMaskField (UnityEngine.Rect position, System.Int32 controlID, System.Int32 mask, System.String[] flagNames, System.Int32[] flagValues, UnityEngine.GUIStyle style, System.Int32& changedFlags, System.Boolean& changedToValue) (at <887a438259064e89922419bc7b8810ab>:0)
UnityEditor.MaskFieldGUI.DoMaskField (UnityEngine.Rect position, System.Int32 controlID, System.Int32 mask, System.String[] flagNames, UnityEngine.GUIStyle style, System.Int32& changedFlags, System.Boolean& changedToValue) (at <887a438259064e89922419bc7b8810ab>:0)
UnityEditor.MaskFieldGUI.DoMaskField (UnityEngine.Rect position, System.Int32 controlID, System.Int32 mask, System.String[] flagNames, UnityEngine.GUIStyle style) (at <887a438259064e89922419bc7b8810ab>:0)
UnityEditor.EditorGUI.MaskFieldInternal (UnityEngine.Rect position, UnityEngine.GUIContent label, System.Int32 mask, System.String[] displayedOptions, UnityEngine.GUIStyle style) (at <887a438259064e89922419bc7b8810ab>:0)
UnityEditor.EditorGUI.MaskField (UnityEngine.Rect position, System.String label, System.Int32 mask, System.String[] displayedOptions, UnityEngine.GUIStyle style) (at <887a438259064e89922419bc7b8810ab>:0)
UnityEditor.EditorGUI.MaskField (UnityEngine.Rect position, System.String label, System.Int32 mask, System.String[] displayedOptions) (at <887a438259064e89922419bc7b8810ab>:0)
TenkokuModuleEditor.OnInspectorGUI () (at Assets/TENKOKU - DYNAMIC SKY/EDITOR/TenkokuModuleEditor.cs:310)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass55_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <887a438259064e89922419bc7b8810ab>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

Chingwa

  • Administrator
  • Hero Member
  • *****
  • Posts: 1672
    • View Profile
    • Tanuki Digital
Re: Unity 2019.3.5f
« Reply #1 on: March 17, 2020, 07:51:31 AM »
I'll check this out on my end.  Was this a brand new 2019.3.5 project, or did you upgrade an existing project?  If you upgraded did you choose the "Asset Database 2" path or stick to the original asset database?

Edit:  I've tried both Asset Pipeline versions now (you can switch them in Project Settings/Editor) and I don't get this error in either version.
Is there anything specific that you are doing or clicking on when getting this?  Does it occur in editor or in play mode (or does it prevent you from playing?)
« Last Edit: March 17, 2020, 08:02:29 AM by Chingwa »

elle

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: Unity 2019.3.5f
« Reply #2 on: March 17, 2020, 11:36:37 AM »
Completely new.

I am also getting this now too...

Code: [Select]
IndexOutOfRangeException: Index was outside the bounds of the array.
Suimono.Core.SuimonoModule.DecodeHeightPixels (System.Single texPosx, System.Single texPosy, System.Int32 texNum) (at Assets/SUIMONO - WATER SYSTEM 2/SCRIPTS/SuimonoModule.cs:1456)
Suimono.Core.SuimonoModule.CalculateHeights (UnityEngine.Vector3 testObject) (at Assets/SUIMONO - WATER SYSTEM 2/SCRIPTS/SuimonoModule.cs:1574)
Suimono.Core.SuimonoModule.SuimonoGetHeightAll (UnityEngine.Vector3 testObject) (at Assets/SUIMONO - WATER SYSTEM 2/SCRIPTS/SuimonoModule.cs:1349)
Suimono.Core.SuimonoModule.StoreSurfaceHeight () (at Assets/SUIMONO - WATER SYSTEM 2/SCRIPTS/SuimonoModule.cs:846)

« Last Edit: March 17, 2020, 11:39:41 AM by elle »

elle

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: Unity 2019.3.5f
« Reply #3 on: March 17, 2020, 02:00:52 PM »
So the problem went away! ...Not sure how to be honest. The scene has no light anymore.

elle

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: Unity 2019.3.5f
« Reply #4 on: March 17, 2020, 02:14:15 PM »
Whoops! I know what happened. I had two cameras going at once.

Jeez... Sorry for the trouble.