tModLoader

tModLoader

Player Bars and Cursor
moti 5 月 17 日 上午 7:48
error on loading.
Log.

[.NET TP Worker/ERROR] [tML]: An error occurred while loading PlayerBarsAndCursors v1.2
The mod(s) and any dependencies have been automatically disabled.
This error was caused by the "PlayerBarsAndCursors.Systems.PlayerBarsUI" class.
System.TypeInitializationException: The type initializer for 'PlayerBarsAndCursors.UI.EnhancedTargetPointersUI' threw an exception.
---> 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 54
at PlayerBarsAndCursors.UI.EnhancedTargetPointersUI..cctor() in PlayerBarsAndCursors\UI\TargetPointer.cs:line 41
--- End of inner exception stack trace ---
at PlayerBarsAndCursors.UI.BarsContainer.OnInitialize() in PlayerBarsAndCursors\UI\BarsContainer.cs:line 32
at Terraria.UI.UIElement.Activate() in tModLoader\Terraria\UI\UIElement.cs:line 518
at PlayerBarsAndCursors.Systems.PlayerBarsUI.Load() in PlayerBarsAndCursors\Systems\PlayerBarsUI.cs:line 20
at Terraria.ModLoader.ModType.Terraria.ModLoader.ILoadable.Load(Mod mod) in tModLoader\Terraria\ModLoader\ModType.cs:line 34
at Terraria.ModLoader.Mod.AddContent(ILoadable instance) in tModLoader\Terraria\ModLoader\Mod.cs:line 175
at Terraria.ModLoader.Mod.<Autoload>b__126_5(Type t) in tModLoader\Terraria\ModLoader\Mod.Internals.cs:line 62
at Terraria.ModLoader.Core.LoaderUtils.ForEachAndAggregateExceptions[T](IEnumerable`1 enumerable, Action`1 action) in tModLoader\Terraria\ModLoader\Core\LoaderUtils.cs:line 129
--- End of stack trace from previous location ---
at Terraria.ModLoader.Core.LoaderUtils.RethrowAggregatedExceptions(IReadOnlyCollection`1 exceptions) in tModLoader\Terraria\ModLoader\Core\LoaderUtils.cs:line 143
at Terraria.ModLoader.Core.LoaderUtils.ForEachAndAggregateExceptions[T](IEnumerable`1 enumerable, Action`1 action) in tModLoader\Terraria\ModLoader\Core\LoaderUtils.cs:line 137
at Terraria.ModLoader.Mod.Autoload() in tModLoader\Terraria\ModLoader\Mod.Internals.cs:line 62
at Terraria.ModLoader.ModContent.<>c.<Load>b__45_0(Mod mod) in tModLoader\Terraria\ModLoader\ModContent.cs:line 309
at Terraria.ModLoader.ModContent.LoadModContent(CancellationToken token, Action`1 loadAction) in tModLoader\Terraria\ModLoader\ModContent.cs:line 444
at Terraria.ModLoader.ModContent.Load(CancellationToken token) in tModLoader\Terraria\ModLoader\ModContent.cs:line 304
at Terraria.ModLoader.ModLoader.Load(CancellationToken token) in tModLoader\Terraria\ModLoader\ModLoader.cs:line 134
< >
正在显示第 1 - 3 条,共 3 条留言
ahdg  [开发者] 5 月 17 日 上午 7:55 
Oh, I believe this issue was caused by differences between the runtime and the development environment, which is why I didn’t catch it before release. I’ll push a fix in an upcoming version.
ahdg  [开发者] 5 月 17 日 上午 9:56 
It should have been fixed in the latest version.
Since I’m unable to reproduce the issue in my development environment (the problem only occurs when downloaded from the Workshop), please send more logs if the issue persists. Thank you for your report!
最后由 ahdg 编辑于; 5 月 17 日 上午 10:06
moti 5 月 17 日 上午 11:08 
I like this mod, so thanks for fixed
< >
正在显示第 1 - 3 条,共 3 条留言
每页显示数: 1530 50