RimWorld

RimWorld

Music Expanded Framework
Phrix Feb 19, 2023 @ 10:22am
Problem with the mod?
I have been getting this error constantly and most probably due to this I am unable to play my music. Can someone help me fix this?
thanks


""Exception filling window for XmlExtensions.XmlExtensions_MenuModSettings: System.InvalidCastException: Specified cast is not valid.
at MusicExpanded.ThemeDef.Select (MusicExpanded.ThemeDef theme) [0x00043] in <ea605c788e404cd9af18d777b4445af6>:0
at MusicExpanded.Settings.BuildThemeWidget (MusicExpanded.ThemeDef theme, UnityEngine.Rect container) [0x00028] in <ea605c788e404cd9af18d777b4445af6>:0
at MusicExpanded.Settings.BuildThemeSelector (Verse.Listing_Standard list) [0x000a0] in <ea605c788e404cd9af18d777b4445af6>:0
at MusicExpanded.Settings.Build (UnityEngine.Rect container) [0x00040] in <ea605c788e404cd9af18d777b4445af6>:0
at MusicExpanded.Core.DoSettingsWindowContents (UnityEngine.Rect inRect) [0x00000] in <ea605c788e404cd9af18d777b4445af6>:0
at XmlExtensions.XmlExtensions_MenuModSettings.DrawXmlModSettings (UnityEngine.Rect rect) [0x00163] in <04c0fccd4e854a7aaf17e79a9e26bc66>:0
at XmlExtensions.XmlExtensions_MenuModSettings.DoWindowContents (UnityEngine.Rect inRect) [0x000ac] in <04c0fccd4e854a7aaf17e79a9e26bc66>:0
at (wrapper dynamic-method) Verse.Window.Verse.Window.InnerWindowOnGUI_Patch0(Verse.Window,int)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch6 (string)
(wrapper dynamic-method) Verse.Window:Verse.Window.InnerWindowOnGUI_Patch0 (Verse.Window,int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)""
< >
Showing 1-6 of 6 comments
SanguinarcAQL Jul 2, 2023 @ 1:33pm 
red error spam since last update
No music play and black screen when i try to launch a game

Root level exception in Update(): System.NullReferenceException: Object reference not set to an instance of an object
at Verse.GenCollection.TryGetValue[T,V] (System.Collections.Generic.IDictionary`2[TKey,TValue] dict, T key, V fallback) [0x00000] in <95de19971c5d40878d8742747904cdcd>:0
at MusicExpanded.TrackManager.Init () [0x0001e] in <b87239cecabc4eb3b2d03b4a7cb9e6fd>:0
at MusicExpanded.Core.Init () [0x00001] in <b87239cecabc4eb3b2d03b4a7cb9e6fd>:0
at MusicExpanded.Patches.MusicManagerEntry+StartPlaying.Prefix (RimWorld.MusicManagerEntry __instance) [0x00001] in <b87239cecabc4eb3b2d03b4a7cb9e6fd>:0
at (wrapper dynamic-method) RimWorld.MusicManagerEntry.RimWorld.MusicManagerEntry.StartPlaying_Patch1(RimWorld.MusicManagerEntry)
at RimWorld.MusicManagerEntry.MusicManagerEntryUpdate () [0x0001b] in <95de19971c5d40878d8742747904cdcd>:0
at Verse.Root_Entry.Update () [0x00017] in <95de19971c5d40878d8742747904cdcd>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch3 (string)
Verse.Root_Entry:Update ()
Teridax Jul 2, 2023 @ 2:32pm 
Ditto

Root level exception in Update(): System.NullReferenceException: Object reference not set to an instance of an object
at Verse.GenCollection.TryGetValue[T,V] (System.Collections.Generic.IDictionary`2[TKey,TValue] dict, T key, V fallback) [0x00000] in <95de19971c5d40878d8742747904cdcd>:0
at MusicExpanded.TrackManager.Init () [0x0001e] in <b87239cecabc4eb3b2d03b4a7cb9e6fd>:0
at MusicExpanded.Core.Init () [0x00001] in <b87239cecabc4eb3b2d03b4a7cb9e6fd>:0
at MusicExpanded.Patches.MusicManagerEntry+StartPlaying.Prefix (RimWorld.MusicManagerEntry __instance) [0x00001] in <b87239cecabc4eb3b2d03b4a7cb9e6fd>:0
at (wrapper dynamic-method) RimWorld.MusicManagerEntry.RimWorld.MusicManagerEntry.StartPlaying_Patch1(RimWorld.MusicManagerEntry)
at RimWorld.MusicManagerEntry.MusicManagerEntryUpdate () [0x0001b] in <95de19971c5d40878d8742747904cdcd>:0
at Verse.Root_Entry.Update () [0x00017] in <95de19971c5d40878d8742747904cdcd>:0
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)
Nitsah Jul 2, 2023 @ 3:06pm 
Game launches but no music works. The mod options do not work at all and is blank for the most part.
Silent Bob Jul 3, 2023 @ 1:05am 
Issue here as well. I dont have music in the menu anymore. And when i start a new colony the "world" where to choose the start location is just Black. The buttons on the bottom are there but the rest is just black.

I removed all mods from my list to test. Only
Harmony - Core - All DLC - ME Framework ( this one ) and ME Wasteland are left.
Same Issue. No music, Cant chanche things in the mod settings and a black worldmap.

The game does not spew an error on launch for me. Its just silence and a black world map screen.
Last edited by Silent Bob; Jul 3, 2023 @ 1:23am
Teridax Jul 3, 2023 @ 3:03pm 
Seems like the error spam in the main menu is fixed

No idea about in game since i was and still making a new mod list
Silent Bob Jul 4, 2023 @ 12:50pm 
As of now, everything seems to work fine again. I just added the Framework and Wasteland Soundtrack back in and had no errors whatsoever. Map generation worked and i could play all of the songs using the debug menu without errors.

edit: With all the other 160+ mods active

Thank you for your excelent work and the quick fix. :steamthumbsup:
Last edited by Silent Bob; Jul 4, 2023 @ 12:51pm
< >
Showing 1-6 of 6 comments
Per page: 1530 50