RimWorld
Music Expanded Core
[Bug] Only the Neolithic music is playing...
Lately only the neolithic playlist plays and the medieval and glitterworld playlists bring up this error.

Root level exception in Update(): System.NullReferenceException: Object reference not set to an instance of an object
at MusicExpanded.Utilities.NameMatches (Verse.Pawn pawn, System.String name) [0x00007] in <ea605c788e404cd9af18d777b4445af6>:0
at MusicExpanded.TrackDef.<AppropriateNow>b__8_0 (Verse.Pawn pawn) [0x00000] in <ea605c788e404cd9af18d777b4445af6>:0
at System.Linq.Enumerable+WhereListIterator`1[TSource].MoveNext () [0x00037] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Enumerable.Any[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00015] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at MusicExpanded.TrackDef.AppropriateNow (Verse.SongDef lastPlayed, MusicExpanded.Cue cueMatch) [0x0002c] in <ea605c788e404cd9af18d777b4445af6>:0
at MusicExpanded.Patches.MusicManagerPlay+ChooseNextSong+<>c__DisplayClass0_0.<Prefix>b__0 (MusicExpanded.TrackDef track) [0x00000] in <ea605c788e404cd9af18d777b4445af6>:0
at System.Linq.Enumerable+WhereListIterator`1[TSource].MoveNext () [0x00037] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at Verse.GenCollection.RandomElementByWeight[T] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] weightSelector) [0x00115] in <cd7169108ea74757aa50c5b33d275c15>:0
at MusicExpanded.Patches.MusicManagerPlay+ChooseNextSong.Prefix (RimWorld.MusicManagerPlay __instance, Verse.SongDef& __result) [0x00151] in <ea605c788e404cd9af18d777b4445af6>:0
at (wrapper dynamic-method) RimWorld.MusicManagerPlay.RimWorld.MusicManagerPlay.ChooseNextSong_Patch1(RimWorld.MusicManagerPlay)
at RimWorld.MusicManagerPlay.StartNewSong () [0x00000] in <cd7169108ea74757aa50c5b33d275c15>:0
at (wrapper dynamic-method) RimWorld.MusicManagerPlay.RimWorld.MusicManagerPlay.MusicUpdate_Patch1(RimWorld.MusicManagerPlay)
at Verse.Root_Play.Update () [0x00037] in <cd7169108ea74757aa50c5b33d275c15>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch1 (string)
Verse.Root_Play:Update ()

Please help lol. Oh I havent tried the default music...
< >
Menampilkan 1-4 dari 4 komentar
ZCK 24 Apr 2024 @ 11:55am 
I got the same problem too. And if you start a new game, it can be solved. But this problem will come back after playing for a while.
Hmmm maybe it happens when i switch tracks while in game then... I'll try only adjusting it from the main menu from now on, and not touch it during a play.
ZCK 25 Apr 2024 @ 1:26am 
You can activate dev mode and you will see hundreds of errors come out when this mod switch music. Only neolithic and vanilla playlist work well.
Kalter Stahl 25 Apr 2024 @ 11:57am 
yeah after i got the bug only the neolithic music would play, didnt try the default music tho im guessing it would have worked like you say
Terakhir diedit oleh Kalter Stahl; 25 Apr 2024 @ 11:58am
< >
Menampilkan 1-4 dari 4 komentar
Per halaman: 1530 50