RimWorld

RimWorld

Research Data
Two Texture errors after update
Exception loading UnityEngine.Texture2D from file.
absFilePath: D:\Steam\steamapps\workshop\content\294100\3001121619\Textures\ArchotechAnalyzer\ArchotechAnalyzer_north.dds
Exception: UnityEngine.UnityException: Failed to create texture because of invalid parameters.
[Ref EE6F7B0A]
at UnityEngine.Texture2D.Internal_Create (UnityEngine.Texture2D mono, System.Int32 w, System.Int32 h, System.Int32 mipCount, UnityEngine.Experimental.Rendering.GraphicsFormat format, UnityEngine.TextureColorSpace colorSpace, UnityEngine.Experimental.Rendering.TextureCreationFlags flags, System.IntPtr nativeTex, System.String mipmapLimitGroupName) [0x00025] in <e422ced3d0f64bb29423e8338d57bc04>:0
UnityEngine.Texture2D..ctor(Int32 width, Int32 height, TextureFormat textureFormat, Int32 mipCount, Boolean linear, IntPtr nativeTex, Boolean createUninitialized, Boolean ignoreMipmapLimit, String mipmapLimitGroupName)
UnityEngine.Texture2D..ctor(Int32 width, Int32 height, TextureFormat textureFormat, Int32 mipCount, Boolean linear, Boolean createUninitialized)
at Verse.ModDdsLoader.CreateTexture (RimWorld.IO.VirtualFile file, Verse.DdsHeader header, UnityEngine.TextureFormat format, System.Span`1[T] data) [0x00028] in <24d25868955f4df08b02c73b55f389fe>:0
at Verse.ModDdsLoader.TryLoadDds (RimWorld.IO.VirtualFile file) [0x001be] in <24d25868955f4df08b02c73b55f389fe>:0
at Verse.ModContentLoader`1[T].LoadTexture (RimWorld.IO.VirtualFile file) [0x0001d] in <24d25868955f4df08b02c73b55f389fe>:0
at Verse.ModContentLoader`1[T].LoadItem (RimWorld.IO.VirtualFile file) [0x00050] in <24d25868955f4df08b02c73b55f389fe>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.ModContentLoader`1<UnityEngine.Texture2D>:LoadItem (RimWorld.IO.VirtualFile)
Verse.ModContentLoader`1/<LoadAllForMod>d__4<UnityEngine.Texture2D>:MoveNext ()
Verse.ModContentHolder`1<UnityEngine.Texture2D>:ReloadAll (bool)
Verse.ModContentPack:ReloadContentInt (bool)
Verse.ModContentPack/<>c__DisplayClass56_0:<ReloadContent>b__0 ()
Verse.LongEventHandler:ExecuteToExecuteWhenFinished ()
Verse.LongEventHandler:UpdateCurrentAsynchronousEvent ()
Verse.LongEventHandler:LongEventsUpdate (bool&)
Verse.Root:Update ()
Verse.Root_Entry:Update ()

and

Exception loading UnityEngine.Texture2D from file.
absFilePath: D:\Steam\steamapps\workshop\content\294100\3001121619\Textures\ArchotechAnalyzer\ArchotechAnalyzer_northm.dds
Exception: UnityEngine.UnityException: Failed to create texture because of invalid parameters.
[Ref EE6F7B0A] Duplicate stacktrace, see ref for original
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.ModContentLoader`1<UnityEngine.Texture2D>:LoadItem (RimWorld.IO.VirtualFile)
Verse.ModContentLoader`1/<LoadAllForMod>d__4<UnityEngine.Texture2D>:MoveNext ()
Verse.ModContentHolder`1<UnityEngine.Texture2D>:ReloadAll (bool)
Verse.ModContentPack:ReloadContentInt (bool)
Verse.ModContentPack/<>c__DisplayClass56_0:<ReloadContent>b__0 ()
Verse.LongEventHandler:ExecuteToExecuteWhenFinished ()
Verse.LongEventHandler:UpdateCurrentAsynchronousEvent ()
Verse.LongEventHandler:LongEventsUpdate (bool&)
Verse.Root:Update ()
Verse.Root_Entry:Update ()


Both persist after unsub/ resub and validating RW files.
< >
Showing 1-7 of 7 comments
kongkim  [developer] 30 Aug @ 11:08am 
Thx :)
kongkim  [developer] 30 Aug @ 3:14pm 
Originally posted by Lemniscate_Mike:
Here's the full logs!

https://gist.github.com/HugsLibRecordKeeper/ddf89cb19aed51e083fbe5b6fda18d7e
@Lemniscate_Mike I looked at the log, and it is what i say to start with. its using old .dds texture files.
Its not something that is in my mod normally.
Most people use RimPy or RimSort to make .dds files for all the mods as they load faster.

So at some points you have had something that made the .dds files.
Nothing i can do about it, but you need to go to the mod folder and delete the dds files.

The best way to do it, is installing RimSort and use its delete all dds files, that will also fix it for all other mods you have so it don't happen again.
And RimSort is updated so you can make new dds files with that and it should work.
I had tried them but decided to just continue to use default RW. I always hate how stuff like that just hangs around...
I'll see about deleting the files.

Thanks a bunch! I appreciate it!
kongkim  [developer] 31 Aug @ 9:05am 
Originally posted by Lemniscate_Mike:
I had tried them but decided to just continue to use default RW. I always hate how stuff like that just hangs around...
I'll see about deleting the files.

Thanks a bunch! I appreciate it!
Haha yah, but its a problem for many mods right now after last update to the game.
But let me know if you got it to work :)
Yes it did fix it! No more errors.

Thanks again!
kongkim  [developer] 31 Aug @ 10:00am 
Originally posted by Lemniscate_Mike:
Yes it did fix it! No more errors.

Thanks again!
Glad to hear, and np :)
< >
Showing 1-7 of 7 comments
Per page: 1530 50