[#12586] java.lang.UnsatisfiedLinkError while trying to load Steam Library (frogworks64.dll)
自动翻译暂时不可用
本帖暂时展示 GitHub 原始内容。
Platforms
Windows
Build
159.7
Issue
Suddenly (have had no issues a few days ago), whenever I open Mindustry I get a System Notification on my PC saying something along the lines of "Mindustry tried to access a file of which we cannot confirm its origin. Acces has been blocked" ( my PC's language is German, so I dunno the exact wording in English) In that message it specifically names a file called <code>frogworks64.dll</code>
Once the game has loaded, it will show an error message saying it couldn't load the native Steam Library because there was an UnsatisfiedLinkError (with aforementioned file) and all Steam related Services are unavailable
<i>A quick google research indicates that this is a Mindustry specific problem, which quite a few people have run into during the past couple days...</i>
I don't know if (or not) you're responsible for this new behavior and whether you can do anything about it, but it certainly seems unintended and wierd.
Steps to reproduce
Launch the Steam version of the game I guess...
It worked fine the last time I played Mindustry, but now consistently fails loading the Steam Library
Mods used
none
Save file
does not happen ingame but on startup, therefor I think it should not be required by any means
<i>(I still have to say "I have attached a valid save file" below -_-)</i>
(Crash) logs
Excerpt of the log file(s), my username in filepaths was replaced with <code>[user]</code>
This one was specifically created for that error:
<pre> Steam: 'java.lang.UnsatisfiedLinkError: C:\Users\[user]\AppData\Local\Temp\frogworks_frogworks-v3\frogworks64.dll: Eine Anwendungssteuerungsrichtlinie hat diese Datei blockiert' SteamSharedLibraryLoader.loadLibrary: 72 SteamAPI.loadLibraries: 16 DesktopLauncher.<init>: 178 DesktopLauncher.main: 53 UnsatisfiedLinkError: 'C:\Users\[user]\AppData\Local\Temp\frogworks_frogworks-v3\frogworks64.dll: Eine Anwendungssteuerungsrichtlinie hat diese Datei blockiert' NativeLibraries.load: -2 NativeLibraries$NativeLibraryImpl.open: -1 NativeLibraries.loadLibrary: -1 NativeLibraries.loadLibrary: -1 ClassLoader.loadLibrary: -1 Runtime.load0: -1 System.load: -1 SteamSharedLibraryLoader.loadAllLibraries: 80 SteamSharedLibraryLoader.loadLibrary: 48 SteamAPI.loadLibraries: 16 DesktopLauncher.<init>: 178 DesktopLauncher.main: 53 </pre>
Generic Logfile:
<pre> [E] Failed to load Steam native libraries. [E] steamworks.SteamException: java.lang.UnsatisfiedLinkError: C:\Users\[user]\AppData\Local\Temp\frogworks_frogworks-v3\frogworks64.dll: Eine Anwendungssteuerungsrichtlinie hat diese Datei blockiert at steamworks.SteamSharedLibraryLoader.loadLibrary(SteamSharedLibraryLoader.java:72) at steamworks.SteamAPI.loadLibraries(SteamAPI.java:16) at mindustry.desktop.DesktopLauncher.<init>(DesktopLauncher.java:178) at mindustry.desktop.DesktopLauncher.main(DesktopLauncher.java:53) Caused by: java.lang.UnsatisfiedLinkError: C:\Users\[user]\AppData\Local\Temp\frogworks_frogworks-v3\frogworks64.dll: Eine Anwendungssteuerungsrichtlinie hat diese Datei blockiert at java.base/jdk.internal.loader.NativeLibraries.load(Native Method) at java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(Unknown Source) at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(Unknown Source) at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(Unknown Source) at java.base/java.lang.ClassLoader.loadLibrary(Unknown Source) at java.base/java.lang.Runtime.load0(Unknown Source) at java.base/java.lang.System.load(Unknown Source) at steamworks.SteamSharedLibraryLoader.loadAllLibraries(SteamSharedLibraryLoader.java:80) at steamworks.SteamSharedLibraryLoader.loadLibrary(SteamSharedLibraryLoader.java:48) ... 3 more Suppressed: java.lang.UnsatisfiedLinkError: C:\Users\[user]\AppData\Local\Temp\frogworks_frogworks-v37394341016748043620.tmp\frogworks64.dll: Eine Anwendungssteuerungsrichtlinie hat diese Datei blockiert ... 12 more Suppressed: java.lang.UnsatisfiedLinkError: C:\Users\[user]\.frogworks_frogworks-v3\frogworks64.dll: Eine Anwendungssteuerungsrichtlinie hat diese Datei blockiert ... 12 more Suppressed: java.lang.UnsatisfiedLinkError: C:\Program Files (x86)\Steam\steamapps\common\Mindustry\.tmp\frogworks_frogworks-v3\frogworks64.dll: Eine Anwendungssteuerungsrichtlinie hat diese Datei blockiert ... 12 more Suppressed: java.lang.UnsatisfiedLinkError: C:\Program Files (x86)\Steam\steamapps\common\Mindustry\frogworks64.dll: Eine Anwendungssteuerungsrichtlinie hat diese Datei blockiert at java.base/jdk.internal.loader.NativeLibraries.load(Native Method) at java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(Unknown Source) at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(Unknown Source) at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(Unknown Source) at java.base/java.lang.ClassLoader.loadLibrary(Unknown Source) at java.base/java.lang.Runtime.load0(Unknown Source) at java.base/java.lang.System.load(Unknown Source) at steamworks.SteamSharedLibraryLoader.loadLibrary(SteamSharedLibraryLoader.java:61) ... 3 more [rest of the log file, not important] </pre>
Submission
I have updated to the latest release (https://github.com/Anuken/Mindustry/releases) to make sure my issue has not been fixed.
I have searched the closed and open issues to make sure that this problem has not already been reported.
I am not using Foo's Client.
This issue occurs with no mods enabled.
I have attached a valid save file.
由 MDT GitHub 同步机器人自动同步。