tModLoader

tModLoader

Player Bars and Cursor
加载时报错
以下为报错的日志,希望有空修复下,谢谢
[.NET TP Worker/ERROR] [tML]: 该模组加载时发生错误 PlayerBarsAndCursors v1.4
该模组是基于tModLoader v2025.3.3.1开发的
但是, 你正在使用 tModLoader v2025.5.3.0
(版本不同不一定是加载错误的原因)
该模组已被自动禁用。
此错误是由“PlayerBarsAndCursors.Systems.PlayerBarsAndCursorsUI”类引起的。
System.Threading.ThreadStateException: most FNA3D audio/graphics functions must be called on the main thread
at Microsoft.Xna.Framework.ThreadCheck.CheckThread() in D:\a\tModLoader\tModLoader\FNA\src\ThreadCheck.cs:line 26
at Microsoft.Xna.Framework.Graphics.Texture2D..ctor(GraphicsDevice graphicsDevice, Int32 width, Int32 height, Boolean mipMap, SurfaceFormat format) in D:\a\tModLoader\tModLoader\FNA\src\Graphics\Texture2D.cs:line 116
at PlayerBarsAndCursors.UI.EnhancedTargetPointersUI.CreatePointerAndGlowTextures() in PlayerBarsAndCursors\UI\TargetPointer.cs:line 45
at PlayerBarsAndCursors.UI.BarsContainer.OnInitialize() in PlayerBarsAndCursors\UI\BarsContainer.cs:line 31
at Terraria.UI.UIElement.Activate() in tModLoader\Terraria\UI\UIElement.cs:line 518
at PlayerBarsAndCursors.Systems.PlayerBarsAndCursorsUI.Load() in PlayerBarsAndCursors\Systems\PlayerBarsUI.cs:line 23
at Terraria.ModLoader.ModType.Terraria.ModLoader.ILoadable.Load(Mod mod) in tModLoader\Terraria\ModLoader\ModType.cs:line 34
at DMD<System.Boolean Terraria.ModLoader.Mod:AddContent(Terraria.ModLoader.ILoadable)>(Mod this, ILoadable instance)
at SpiritReforged.Common.ModCompat.PreAddContent.HookAddContent(orig_AddContent orig, Mod self, ILoadable instance)
at Hook<System.Boolean SpiritReforged.Common.ModCompat.PreAddContent::HookAddContent(SpiritReforged.Common.ModCompat.PreAddContent+orig_AddContent,Terraria.ModLoader.Mod,Terraria.ModLoader.ILoadable)>(Mod , ILoadable )
at SyncProxy<System.Boolean Terraria.ModLoader.Mod:AddContent(Terraria.ModLoader.ILoadable)>(Mod , ILoadable )
at Terraria.ModLoader.Mod.<Autoload>b__126_5(Type t)
at Terraria.ModLoader.Core.LoaderUtils.ForEachAndAggregateExceptions[T](IEnumerable`1 enumerable, Action`1 action)
--- End of stack trace from previous location ---
at Terraria.ModLoader.Core.LoaderUtils.ForEachAndAggregateExceptions[T](IEnumerable`1 enumerable, Action`1 action)
at Terraria.ModLoader.Mod.Autoload()
at Terraria.ModLoader.ModContent.<>c.<Load>b__45_0(Mod mod)
at Terraria.ModLoader.ModContent.LoadModContent(CancellationToken token, Action`1 loadAction)
at Terraria.ModLoader.ModContent.Load(CancellationToken token)
at Terraria.ModLoader.ModLoader.Load(CancellationToken token)
< >
正在显示第 1 - 2 条,共 2 条留言
ahdg  [开发者] 7 月 8 日 下午 10:49 
1.6 看看能用吗
Tamura_HK 7 月 9 日 上午 7:24 
可以了,非常感谢
< >
正在显示第 1 - 2 条,共 2 条留言
每页显示数: 1530 50