RimWorld

RimWorld

Playlist Mod
 This topic has been pinned, so it's probably important
Aleksey  [developer] 21 Dec, 2024 @ 12:47pm
Bug Reports
Report any bugs you find to the Issues sections on BitBucket:
Custom Music Mod Generator[bitbucket.org]
Playlist Mod[bitbucket.org]
Last edited by Aleksey; 18 Jul @ 3:42pm
< >
Showing 1-15 of 34 comments
Igugf 29 Dec, 2024 @ 3:03pm 
Aleksey  [developer] 31 Dec, 2024 @ 11:05am 
Thanks for the report. It looks like there may be a SongDef with a null clipPath. I don't see that error on my end. Possibly a bad format or a song that didn't load properly. What music mods are you using?
Aleksey  [developer] 31 Dec, 2024 @ 11:41am 
I've added a fix for what I think might be causing it. Let me know if you still see the error.
Marukun 27 Jun @ 2:36am 
System.MissingMethodException: !!1 Verse.GenCollection.TryGetValue<!0,!1>(System.Collections.Generic.IDictionary`2<!!0, !!1>,!!0,!!1)
[Ref 3FBD2D57]
at Diary.ListenArchive_Add.Prefix (RimWorld.IArchivable archivable) [0x000f6] in <8cc3d704a30f49fa9e2b41d077158814>:0
at RimWorld.Archive.Add (RimWorld.IArchivable archivable) [0x00019] in <630e2863bc9a4a3493f2eff01e3a9556>:0
- PREFIX aamulumi.diary: Void Diary.ListenArchive_Add:Prefix(IArchivable archivable)
at Verse.Messages.Message (Verse.Message msg, System.Boolean historical) [0x00023] in <630e2863bc9a4a3493f2eff01e3a9556>:0
at Verse.Messages.Message (System.String text, Verse.MessageTypeDef def, System.Boolean historical) [0x0001f] in <630e2863bc9a4a3493f2eff01e3a9556>:0
at RimworldPlaylistMod.Src.Playlist.PlaySong (Verse.SongDef song) [0x00059] in <039b2ba197e9431f85d752d02914394d>:0
at RimworldPlaylistMod.Src.Playlist.Next (System.Boolean shouldPlay) [0x00014] in <039b2ba197e9431f85d752d02914394d>:0
at RimworldPlaylistMod.Src.Playlist.InitPlay () [0x0000a] in <039b2ba197e9431f85d752d02914394d>:0
at RimworldPlaylistMod.Src.Classes.PlaylistModGameComponent.GameComponentUpdate () [0x00016] in <039b2ba197e9431f85d752d02914394d>:0
at Verse.GameComponentUtility.GameComponentUpdate () [0x00017] in <630e2863bc9a4a3493f2eff01e3a9556>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch4 (string)
Verse.GameComponentUtility:GameComponentUpdate ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Game.UpdatePlay_Patch7 (Verse.Game)
Verse.Root_Play:Update ()
Aleksey  [developer] 28 Jun @ 11:45am 
I was unable to replicate that issue, but I did update the mod for 1.6. Let me know if you're still having issues.
when i get this error all the music stops working
System.NullReferenceException: Object reference not set to an instance of an object
[Ref CE3B4557]
at RimworldPlaylistMod.Src.Playlist.Resume () [0x00030] in <d146ff010350442db8c4199d71c42b5d>:0
at RimworldPlaylistMod.Src.Patches.ForceStartNewSongPatch.Prefix () [0x00000] in <d146ff010350442db8c4199d71c42b5d>:0
at RimWorld.MusicManagerPlay.ForcePlaySong (Verse.SongDef song, System.Boolean ignorePrefsVolume) [0x00000] in <630e2863bc9a4a3493f2eff01e3a9556>:0
- PREFIX Alexey.PlaylistMod: Void RimworldPlaylistMod.Src.Patches.ForceStartNewSongPatch:Prefix()
at RimworldPlaylistMod.Src.Playlist.PlaySong (Verse.SongDef song) [0x00005] in <d146ff010350442db8c4199d71c42b5d>:0
at RimworldPlaylistMod.Src.Playlist.Next (System.Boolean shouldPlay) [0x00014] in <d146ff010350442db8c4199d71c42b5d>:0
at RimworldPlaylistMod.Src.Playlist.Shuffle () [0x0000a] in <d146ff010350442db8c4199d71c42b5d>:0
at RimworldPlaylistMod.Src.Classes.DrawWidget.DrawButtons () [0x000b8] in <d146ff010350442db8c4199d71c42b5d>:0
at RimworldPlaylistMod.Src.Classes.DrawWidget.Widget () [0x000ad] in <d146ff010350442db8c4199d71c42b5d>:0
at RimworldPlaylistMod.Src.Classes.PlaylistModGameComponent.GameComponentOnGUI () [0x0000e] in <d146ff010350442db8c4199d71c42b5d>:0
at Verse.GameComponentUtility.GameComponentOnGUI () [0x00017] in <630e2863bc9a4a3493f2eff01e3a9556>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch4 (string)
Verse.GameComponentUtility:GameComponentOnGUI ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.UIRoot.UIRootOnGUI_Patch1 (Verse.UIRoot)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:RimWorld.UIRoot_Play.UIRootOnGUI_Patch2 (RimWorld.UIRoot_Play)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root.OnGUI_Patch1 (Verse.Root)
Aleksey  [developer] 3 Jul @ 1:18pm 
I've added a check for it. Let me know if that fixed it. If not, I'll need exact steps to replicate it.
i forgot to mention im on 1.5, anyway it seems to happen with specific songs, so far there were two instances of this happening, one time was naturally through gameplay,

the other time was when i opened the "manage song list" menu and clicked play on some song called Apparition.
i have like 10 other music mods installed though so i have no clue if its a modded song or vanilla rimworld.

the issue fixes itself over time, somewhere between 15 seconds and a couple minutes.

also idk if its just me but the manage song list menu is reeeeally laggy unless i type something in the bar, but maybe thats just cause i have too many songs
Aleksey  [developer] 4 Jul @ 9:04am 
Thanks for the info. The mod has different assemblies for 1.5 and 1.6, and I made my change to the latest 1.6 version. I'll do some testing on 1.5 and see if I can find anything.

As for the list lag, it probably is due to too many songs. I think mine is like 100 or so songs and I never got any lag from it. I'll look into ways of possibly making the list more efficient.
Aleksey  [developer] 4 Jul @ 11:42am 
I've implemented a fix for the lag and applied the null check to the 1.5 assembly. Let me know how that works for you. I tested it by duplicating my list 10 times until it was laggy and can confirm it sped things up considerably with the update.
its 10x less laggy now, however music still stops when i click play on Apparition, there are two errors
#1
Exception filling window for RimworldPlaylistMod.Src.Classes.PlaylistWindow: System.NullReferenceException: Object reference not set to an instance of an object
[Ref 8E7FBFB6]
at RimWorld.MusicManagerPlay.PlaySong (Verse.SongDef song, System.Boolean forced, System.Boolean ignorePrefsVolume) [0x0004e] in <630e2863bc9a4a3493f2eff01e3a9556>:0
at RimWorld.MusicManagerPlay.ForcePlaySong (Verse.SongDef song, System.Boolean ignorePrefsVolume) [0x00005] in <630e2863bc9a4a3493f2eff01e3a9556>:0
- PREFIX Alexey.PlaylistMod: Void RimworldPlaylistMod.Src.Patches.ForceStartNewSongPatch:Prefix()
at RimworldPlaylistMod.Src.Playlist.PlaySong (Verse.SongDef song) [0x00005] in <460fc5537e424ff8a2e4418ce0700756>:0
at RimworldPlaylistMod.Src.Playlist.ForcePlaySong (Verse.SongDef song) [0x00012] in <460fc5537e424ff8a2e4418ce0700756>:0
at RimworldPlaylistMod.Src.Playlist.ToggleForcePlaySong (Verse.SongDef song) [0x00020] in <460fc5537e424ff8a2e4418ce0700756>:0
at RimworldPlaylistMod.Src.Classes.DrawWindow.DrawSongList (System.Single width) [0x003c7] in <460fc5537e424ff8a2e4418ce0700756>:0
at RimworldPlaylistMod.Src.Classes.DrawWindow.DrawScrollView () [0x0014f] in <460fc5537e424ff8a2e4418ce0700756>:0
at RimworldPlaylistMod.Src.Classes.DrawWindow.DrawWindowContents (UnityEngine.Rect windowRect, System.Single windowMargin, System.Single footerRowHeight) [0x00022] in <460fc5537e424ff8a2e4418ce0700756>:0
at RimworldPlaylistMod.Src.Classes.PlaylistWindow.DoWindowContents (UnityEngine.Rect contentRect) [0x00000] in <460fc5537e424ff8a2e4418ce0700756>:0
at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001a6] in <630e2863bc9a4a3493f2eff01e3a9556>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch4 (string)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)



error #2
Mouse position stack is not empty. There were more calls to BeginScrollView than EndScrollView. Fixing.
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch4 (string)
Verse.Widgets:EnsureMousePositionStackEmpty ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root.Update_Patch1 (Verse.Root)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root_Play.Update_Patch1 (Verse.Root_Play)
Aleksey  [developer] 6 Jul @ 9:59am 
Can you link me to the mod that adds Apparition?
Aleksey  [developer] 7 Jul @ 12:51pm 
Thanks!
Aleksey  [developer] 7 Jul @ 1:44pm 
I installed the mod and tested it out and got no errors. I'm testing in a clean environment, so this tells me that one of the other mods you have is causing this. Can you link me to all of your music mods? Maybe one of the others is the culprit, because there's nothing wrong with the Apparition song.
< >
Showing 1-15 of 34 comments
Per page: 1530 50