chunky-cat / Qunity

a quake map importer for unity
MIT License
26 stars 0 forks source link

Cannot produce a build due to missing namespace #6

Closed HunterStanton closed 3 months ago

HunterStanton commented 3 months ago

This is a great project, and I am currently building a game using it and hope to contribute some fixes/feature improvements as I go along. Thanks for making it. That being said, I'm running into the first big issue so far that I can't seem to fix.

Every time I attempt to produce a build, I get the following error: Library\PackageCache\com.chunkycat.qunity@1.0.7-preview-1\Runtime\QunityEventBus.cs(2,19): error CS0234: The type or namespace name 'Events' does not exist in the namespace 'UnityEditor' (are you missing an assembly reference?)

I am using Unity 2022.3.30f1 and have tried to build for pretty much all platforms on both Windows and MacOS, with no change in behavior. I've tried messing around with different build settings to no avail. It works great in the Editor, I just can't produce actual builds.

HunterStanton commented 3 months ago

Closing this, it turns out it is simply a matter of the package on OpenUPM not being updated, it's still stuck on 1.0.7-preview-1. I cloned the repo and installed the package locally to get 1.0.7-preview-2 and it builds no problem. So my apologies for creating this useless issue! Sorry 😬