Skip to content

Addon .dll plugin not loading config correctly on ACT restart #278

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
adamabad opened this issue May 9, 2023 · 0 comments
Open

Addon .dll plugin not loading config correctly on ACT restart #278

adamabad opened this issue May 9, 2023 · 0 comments

Comments

@adamabad
Copy link

adamabad commented May 9, 2023

Steps to reproduce:

  1. Compiled new AddonExample project
  2. Restart ACT
  3. Create new overlay with Preset -> Custom, Type -> AddonExample
  4. Restart ACT
  5. New overlay from (3) will fail to appear in sidebar and fails to load, producing the following error log

Log:
[5/9/2023 7:34:58 PM] Info: AssemblyResolver: Loaded: HtmlRenderer, Version=0.19.19.0, Culture=neutral, PublicKeyToken=null
[5/9/2023 7:34:58 PM] Info: AssemblyResolver: Loaded: CefSharp, Version=95.7.141.0, Culture=neutral, PublicKeyToken=40c4b6fc221f4138
[5/9/2023 7:34:58 PM] Info: InitPlugin: PluginDirectory = C:\Users\Adam\AppData\Roaming\Advanced Combat Tracker\Plugins\OverlayPlugin
[5/9/2023 7:34:58 PM] Error: Failed to load an overlay config: $System.Exception: Type AddonExample.AddonExampleOverlayConfig, AddonExample, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null not found!
at RainbowMage.OverlayPlugin.PluginConfig.LoadJson(String configPath)
[5/9/2023 7:34:58 PM] Info: AssemblyResolver: Loaded: CefSharp.OffScreen, Version=95.7.141.0, Culture=neutral, PublicKeyToken=40c4b6fc221f4138
[5/9/2023 7:34:58 PM] Info: AssemblyResolver: Loaded: CefSharp.Core, Version=95.7.141.0, Culture=neutral, PublicKeyToken=40c4b6fc221f4138
[5/9/2023 7:34:58 PM] Info: AssemblyResolver: Loaded: CefSharp.Core.Runtime, Version=95.7.141.0, Culture=neutral, PublicKeyToken=40c4b6fc221f4138
[5/9/2023 7:34:58 PM] Info: AssemblyResolver: Loaded: Fleck, Version=1.2.0.0, Culture=neutral, PublicKeyToken=null
[5/9/2023 7:34:58 PM] Info: InitPlugin: Initialised.
[5/9/2023 7:34:58 PM] Info: Plugin Started.
[5/9/2023 7:34:58 PM] Info: LoadAddons: AddonExample.dll: Initialized AddonExample.AddonExample

Addon Example project compiled in 4.8.1, Visual Studio 2022

Current plugin load order is:
FFXIV_ACT_Plugin.dll
OverlayPlugin.dll
AddonExample.dll

Have tried:
Reloading ACT after adding plugin, before adding new overlays
Placing the plugin before OverlayPlugin for load order (Fails b/c of dependencies)

ngld pushed a commit that referenced this issue Jun 29, 2024
Add missing line to set output var
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant