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

"The type or namespace name 'ScriptableSingleton<>' could not be found" error on build #166

Closed
enitimeago opened this issue Feb 12, 2024 · 2 comments · Fixed by #167
Closed

Comments

@enitimeago
Copy link
Contributor

enitimeago commented Feb 12, 2024

Upon debugging why a friend's avatar was not building with MA 1.8.4 and NDMF 1.3.2 in Unity 2022, I noticed in their logs:

Packages\nadena.dev.ndmf\Runtime\NonPersistentConfig.cs(6,42): error CS0246: The type or namespace name 'ScriptableSingleton<>' could not be found (are you missing a using directive or an assembly reference?)

The friend was able to build their avatar once I requested them to downgrade NDMF to 1.3.1.

Inspecting 2896716, could the source of the issue be that NonPersistentConfig was moved from an editor assembly to a runtime assembly, since ScriptableSingleton is a class under UnityEditor?

Log filtered to errors:

スクリーンショット 2024-02-12 220624

@bdunderscore
Copy link
Owner

Thanks for the report, this was indeed the problem. I'll have to build some additional CI steps to catch this issue...

@enitimeago
Copy link
Contributor Author

Thanks for the really quick fix!

I can verify on my own side in Unity 2019 that 1.3.2 broke builds and that I can build again with 1.3.3.

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

Successfully merging a pull request may close this issue.

2 participants