Skip to content

Dependency loading issue with plugins #1

@0XC7R

Description

@0XC7R

Pulsar version

Global (plugins system require)

Server installed .NET version

.NET 9.0

Server operating system

Other

Client installed .NET version

No response

Client operating system

Other

Build configuration

Release

Describe the bug

When a plugin is built and uses a package which the server its self is not built with the server will throw the following error below.

This is because the server for some reason is trying to load the plugins dependencies from the servers path and expecting it to exist however it should instead load it an alternative way.


Error:

[2025/12/05 16:38:35] Attempting to load: Pulsar.Plugin.Pickaxmr.Server.dll
[2025/12/05 16:38:35] Plugin init failed: Could not load file or assembly 'BytecodeApi, Version=4.0.1.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

How to reproduce

  1. Make a plugin or use an template one
  2. Add a random package that the server does not use like "BytecodeApi"
  3. Build the plugin and add to the plugins folder
  4. it should throw an error about the path not existing to the reference

Expected behavior

Should not depend on the plugins references/dependencies to exist on the server even with client plugins. This happens with both client and server plugins. Plugins should be able to load their dependencies regardless of the servers own dependencies.

Actual behavior

Expects the package to be installed on the server and also the DLL to exist in the servers CWD.

C:\Users\k\3D Objects\Pulsar-Plugins\External\Poopsar\bin\Debug\net9.0-windows\BytecodeApi.dll

Because of this it errors and breaks.

Image

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions