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

UnityEditor reference in Runtime scripts causing error on asset bundling #2

Open
synlogic opened this issue Feb 27, 2019 · 0 comments

Comments

@synlogic
Copy link

synlogic commented Feb 27, 2019

HandPosePreset.cs uses UnityEditor, which throws an error on runtime asset bundling (for VRChat) since it's not an editor script. Removing using UnityEditor; fixes the issue.

Assets/Vox/Hands/Runtime/HandPosePreset.cs(4,7): error CS0246: The type or namespace name `UnityEditor' could not be found. Are you missing an assembly reference?
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

No branches or pull requests

1 participant