microsoft / MRDesignLabs_Unity_Tools

This repository contains the tools leveraged for our Mixed Reality Design Lab examples in Unity.
MIT License
61 stars 30 forks source link

3 Errors Returned On Import #2

Closed reillydonovan closed 7 years ago

reillydonovan commented 7 years ago

Hello, when I import this into my Unity asset folder I am returned the following errors:

Removing Assets/MRDesignLabs_Unity_Tools/HUX/Resources/Models/Cursor/Cursor_move/CursorRing.fbm/templates because the asset does not exist UnityEditorInternal.InternalEditorUtility:ProjectWindowDrag(HierarchyProperty, Boolean) UnityEditor.DockArea:OnGUI()

Unsupported DDS file. UnityEditorInternal.InternalEditorUtility:ProjectWindowDrag(HierarchyProperty, Boolean) UnityEditor.DockArea:OnGUI()

Assets/HoloToolkit/SpatialSound/Scripts/UAudioManager/UAudioManager.cs(463,10): error CS0616: `ContextMenu': is not an attribute class

any suggestions? thanks!

paseb commented 7 years ago

Sorry for the late reply on this. The first 2 errors you can ignore. The first one is a bad meta file on an auto-generated directory from an fbx import. The second one is a dds file that is coupled with the cursor fbx.

However the 3rd one could be based on the version of Unity you're using or not have the build settings targeting UWP. What are your settings for building and which version of Unity are you using?

thanks, -pat

HattMarris1 commented 7 years ago

I also have this issue, I'm using unity 5.6, and I'm targeting the windows store (I can paste a screen shot of the build settings if that's easier)

Thanks,

reillydonovan commented 7 years ago

I'm using 5.6.2f1 and the build setttings are set to UWP with hololens as a target. I can get it to work if I download HUX from the github source repo rather than from the git submodule, however I am still returned the top two errors but I can still build.

paseb commented 7 years ago

As I mentioned the top 2 errors are just import errors and not critical ones. I'll remove the offenders anyway but what to make sure that use it as a submodule should but the correct approach. So @reillydonovan you have a git repo that you were creating the submodule in and getting the 3rd error above from HTK?

To be clear on the repo steps I'm going to test with the following (as all of them should work):

Do these are seem viable and which structure are you using?

thanks, -pat

reillydonovan commented 7 years ago

Option 1 above worked for me. I didn't try Option 2. Option 3 is the option that I did try without success, but I can try again.

paseb commented 7 years ago

Awesome! All 3 should be resolved. I removed the offending dds and meta file to nowhere and updated the context menu in HUX to be in the cursors namespace as well as named it appropriately. It's now ContextCursorMenu since that's really what it was intended for.

reillydonovan commented 7 years ago

That worked, thanks, I can now use the submodule. The DDS still reports an error but doesn't prevent me from building the solution.

paseb commented 7 years ago

D'oh! I'll delete the other dds then as well as they're not being used currently.

Thanks, -pat