You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
most modules have a package ref csproj dependency on r2api.core, but no attribute bepindependency on it, meaning that potentially the logger (only this so far) could be used (through on the of public methods for example) while the Awake() still not being fired, leading to exceptions
a solution to this if i'm not mistaken would just be to move the logger to a r2apicore baseunityplugin class and have the r2api baseunityplugin depends on it, while making sure the r2api submodules which depends on Core have a bepindependency on it
the modules can't have a bepindependency on r2api baseunityplugin as this one already happens to have soft dependencies to most of them, due to it being the r2api.legacy baseunityplugin
The text was updated successfully, but these errors were encountered:
most modules have a package ref csproj dependency on r2api.core, but no attribute
bepindependency
on it, meaning that potentially the logger (only this so far) could be used (through on the of public methods for example) while the Awake() still not being fired, leading to exceptionsa solution to this if i'm not mistaken would just be to move the logger to a r2apicore baseunityplugin class and have the r2api baseunityplugin depends on it, while making sure the r2api submodules which depends on Core have a bepindependency on it
the modules can't have a bepindependency on r2api baseunityplugin as this one already happens to have soft dependencies to most of them, due to it being the r2api.legacy baseunityplugin
The text was updated successfully, but these errors were encountered: