Skip to content
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

Startup failure when not in own folder in plugins #95

Closed
harbingerofme opened this issue Dec 23, 2019 · 1 comment
Closed

Startup failure when not in own folder in plugins #95

harbingerofme opened this issue Dec 23, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@harbingerofme
Copy link
Collaborator

When r2api is sitting at the root of the plugins folder, it can't startup correctly.
Workaround: move the r2api plugins files into their own R2API folder.

[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
R2API.Utils.APISubmoduleHandler.<LoadRequested>g__getAssemblies|4_0 () (at <9ef6563d9c7248e786c3a8e22e040bec>:0)
R2API.Utils.APISubmoduleHandler.LoadRequested () (at <9ef6563d9c7248e786c3a8e22e040bec>:0)
R2API.R2API..ctor () (at <9ef6563d9c7248e786c3a8e22e040bec>:0)
UnityEngine.GameObject:AddComponent(Type)
BepInEx.Bootstrap.Chainloader:Start()
UnityEngine.Application:.cctor()
RoR2.CharacterSpawnCard:Awake()
@harbingerofme harbingerofme added the bug Something isn't working label Dec 23, 2019
@xiaoxiao921
Copy link
Member

That one is my fault. I'll fix it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants