边缘世界 RimWorld

边缘世界 RimWorld

Quality Overlay
此主题已被锁定
Hqiran 2022 年 8 月 28 日 上午 6:24
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 ()
< >
正在显示第 1 - 1 条,共 1 条留言
telardo  [开发者] 2022 年 9 月 17 日 上午 5:02 
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.
< >
正在显示第 1 - 1 条,共 1 条留言
每页显示数: 1530 50