Skip to content

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

Description

@adamabad

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions