Skip to content

Problem in 1.6 #6

@CrashM85

Description

@CrashM85

Describe the bug
Error when opening the colour picker in Rimworld 1.6

Expected behavior
The colour picker to open

Steps to reproduce
Just try opening the colour picket in 1.6

Other mods
CM Color Coded Mood Bar (my mod that uses the colour picker)

Output log
RimWorld 1.6.4488 rev717
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Message (string)
RimWorld.VersionControl:LogVersionNumber ()
Verse.Root:CheckGlobalInit ()
Verse.Root:Start ()
Verse.Root_Entry:Start ()

[CMColorCodedMoodBar] CMColorCodedMoodBar 1.6.4488.1 initialized
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Message (string)
ColoredMoodBar13.Main:LogMessage (string,ColoredMoodBar13.MessageType)
ColoredMoodBar13.Main:.cctor ()
System.Runtime.CompilerServices.RuntimeHelpers:RunClassConstructor (System.RuntimeTypeHandle)
Verse.StaticConstructorOnStartupUtility:CallAll ()
Verse.PlayDataLoader/<>c:b__4_4 ()
Verse.LongEventHandler:ExecuteToExecuteWhenFinished ()
Verse.LongEventHandler:UpdateCurrentAsynchronousEvent ()
Verse.LongEventHandler:LongEventsUpdate (bool&)
Verse.Root:Update ()
Verse.Root_Entry:Update ()

Initializing new game with mods:

  • brrainz.harmony
  • Ludeon.RimWorld
  • Ludeon.RimWorld.Royalty
  • Ludeon.RimWorld.Ideology
  • CrashM.ColorCodedMoodBar.11
    UnityEngine.StackTraceUtility:ExtractStackTrace ()
    Verse.Log:Message (string)
    Verse.Game:InitNewGame ()
    Verse.Root_Play/<>c:b__1_2 ()
    Verse.LongEventHandler:RunEventFromAnotherThread (System.Action)
    Verse.LongEventHandler/<>c:b__28_0 ()
    System.Threading.ThreadHelper:ThreadStart_Context (object)
    System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
    System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
    System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object)
    System.Threading.ThreadHelper:ThreadStart ()

Exception filling window for ColourPicker.Dialog_ColourPicker: System.ArgumentException: Texture2D.SetPixels: the size of data to be written to would result in writing outside the target buffer bounds. (Texture '')
[Ref DA174609]
(wrapper managed-to-native) UnityEngine.Texture2D.SetPixelsImpl(UnityEngine.Texture2D,int,int,int,int,UnityEngine.Color[],int,int)
at UnityEngine.Texture2D.SetPixels (System.Int32 x, System.Int32 y, System.Int32 blockWidth, System.Int32 blockHeight, UnityEngine.Color[] colors, System.Int32 miplevel) [0x00016] in :0
at UnityEngine.Texture2D.SetPixels (System.Int32 x, System.Int32 y, System.Int32 blockWidth, System.Int32 blockHeight, UnityEngine.Color[] colors) [0x00001] in :0
at ColourPicker.Dialog_ColourPicker.CreateAlphaBG (UnityEngine.Texture2D& bg, System.Int32 width, System.Int32 height) [0x0007d] in :0
at ColourPicker.Dialog_ColourPicker.get_SliderAlphaBG () [0x0000e] in :0
at ColourPicker.Dialog_ColourPicker.DoWindowContents (UnityEngine.Rect inRect) [0x002a4] in :0
at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001a6] in <05a598057c094c8fabaf7bdd67c166ac>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)

Exception filling window for ColourPicker.Dialog_ColourPicker: System.ArgumentException: Texture2D.SetPixels: the size of data to be written to would result in writing outside the target buffer bounds. (Texture '')
[Ref DA174609] Duplicate stacktrace, see ref for original
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)

Reached max messages limit. Stopping logging to avoid spam.
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Warning (string)
Verse.Log:Notify_MessageReceivedThreadedInternal (string,string,UnityEngine.LogType)
UnityEngine.Application:CallLogCallback (string,string,UnityEngine.LogType,bool)
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:LogError (object)
Verse.Log:Error (string)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)

Exception filling window for ColourPicker.Dialog_ColourPicker: System.ArgumentException: Texture2D.SetPixels: the size of data to be written to would result in writing outside the target buffer bounds. (Texture '')
[Ref DA174609] Duplicate stacktrace, see ref for original
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)

Game
Steam 1.6.4488 64-Bit

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions