RimWorld

RimWorld

Quality Overlay
This topic has been locked
Hqiran 28 Aug, 2022 @ 6:24am
Bugs occur after the recent update
Sorry but it seems some bugs occur after the recent update, the quality overlay doesn't show up and the debug log keeps jumping red warnings like these. This bug happens to all of my old saves, but doesn't show up if I start a new save.

Exception in UIRootUpdate: System.ArgumentOutOfRangeException: Count must be in the range of 0 to 1023.
Parameter name: count
at UnityEngine.Graphics.DrawMeshInstanced (UnityEngine.Mesh mesh, System.Int32 submeshIndex, UnityEngine.Material material, UnityEngine.Matrix4x4[] matrices, System.Int32 count, UnityEngine.MaterialPropertyBlock properties, UnityEngine.Rendering.ShadowCastingMode castShadows, System.Boolean receiveShadows, System.Int32 layer, UnityEngine.Camera camera, UnityEngine.Rendering.LightProbeUsage lightProbeUsage, UnityEngine.LightProbeProxyVolume lightProbeProxyVolume) [0x000df] in <c58bc064d0ed420cb832da9d6d1cf9b6>:0
at UnityEngine.Graphics.DrawMeshInstanced (UnityEngine.Mesh mesh, System.Int32 submeshIndex, UnityEngine.Material material, System.Collections.Generic.List`1[T] matrices, UnityEngine.MaterialPropertyBlock properties, UnityEngine.Rendering.ShadowCastingMode castShadows, System.Boolean receiveShadows, System.Int32 layer, UnityEngine.Camera camera, UnityEngine.Rendering.LightProbeUsage lightProbeUsage, UnityEngine.LightProbeProxyVolume lightProbeProxyVolume) [0x00023] in <c58bc064d0ed420cb832da9d6d1cf9b6>:0
at UnityEngine.Graphics.DrawMeshInstanced (UnityEngine.Mesh mesh, System.Int32 submeshIndex, UnityEngine.Material material, System.Collections.Generic.List`1[T] matrices, UnityEngine.MaterialPropertyBlock properties, UnityEngine.Rendering.ShadowCastingMode castShadows, System.Boolean receiveShadows, System.Int32 layer) [0x00001] in <c58bc064d0ed420cb832da9d6d1cf9b6>:0
at Quality_Overlay.SparseOverlayDrawer.ActuallyDraw () [0x00105] in <4b8dd6d470dd4b5f961345a159bc98d9>:0
at Quality_Overlay.SparseOverlayDrawer.CellBoolDrawerUpdate () [0x0000c] in <4b8dd6d470dd4b5f961345a159bc98d9>:0
at Quality_Overlay.QualityOverlayHandler.UpdateQualityOverlay () [0x00074] in <4b8dd6d470dd4b5f961345a159bc98d9>:0
at Quality_Overlay.MapInterfacePatch.UpdateOverlay () [0x00029] in <4b8dd6d470dd4b5f961345a159bc98d9>:0
at (wrapper dynamic-method) RimWorld.MapInterface.RimWorld.MapInterface.MapInterfaceUpdate_Patch2(RimWorld.MapInterface)
at RimWorld.UIRoot_Play.UIRootUpdate () [0x00015] in <81af9f8a18324e17b286924a43555a7c>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch4 (string)
RimWorld.UIRoot_Play:UIRootUpdate ()
(wrapper dynamic-method) Verse.Root:Verse.Root.Update_Patch1 (Verse.Root)
Verse.Root_Play:Update ()
< >
Showing 1-1 of 1 comments
telardo  [developer] 17 Sep, 2022 @ 5:02am 
Sorry, I missed your feedback. It's caused by gpu instanced drawing introduced in last update. When you have more than 1024 overlays to draw it will be an error. It's fixed now.
< >
Showing 1-1 of 1 comments
Per page: 1530 50