User avatar
colinmacleod
Topic Author
Posts: 5
Joined: 22 Mar 2025, 03:04
Contact:

Help Getting Started with Unity Sample Projects on macOS

26 Mar 2025, 21:44

Guys,

Can you please give me some pointers on how to get started with the Unity samples?

For example, I want to get the menu3d example project working. I looked in `Samples/Menu3D/Unity`. That's clearly not a complete Unity project, so I:
  • created a Unity project (v 6000.0.34f1)
  • added the local package via Package Manager
  • shut down Unity
  • copied the Noesis GUI Menu3D sample files over
  • started the project in Unity again
This caused a bunch of errors.

I'm totally new here – was lured in by your impressive presence at GDC.

What are the correct steps for using the samples in Unity?
Last edited by colinmacleod on 27 Mar 2025, 01:04, edited 1 time in total.
 
User avatar
colinmacleod
Topic Author
Posts: 5
Joined: 22 Mar 2025, 03:04
Contact:

Re: Help Getting Started with Unity Sample Projects

27 Mar 2025, 00:56

Currently running Unity v6000.0.43f1 on macOS 15.3.2 Apple Silicon M2 Pro.

These are some of the errors:
Assets/NoesisGUI/Samples/Menu3D/MainWindow.xaml.cs(73,24): error CS0122: 'DependencyObject.ClearAnimation(DependencyProperty)' is inaccessible due to its protection level
[NOESIS] Assets/NoesisGUI/Samples/Menu3D/OptionSelector.xaml(1,14): Unknown x:Class type 'Menu3D.OptionSelector'
UnityEngine.Debug:LogError (object,UnityEngine.Object)
NoesisUnity:UnityLog (int,string) (at /Users/colinmacleod/Work/noesis-gui/Runtime/NoesisUnity.cs:371)
Noesis.GUI:LoadXaml (System.IO.Stream,string) (at /Users/colinmacleod/Work/noesis-gui/Runtime/API/Core/NoesisGUI.cs:292)
NoesisXaml:Load () (at /Users/colinmacleod/Work/noesis-gui/Runtime/NoesisXaml.cs:17)
NoesisPostprocessor/<>c__DisplayClass1_1:<OnPostprocessAllAssets>b__0 () (at /Users/colinmacleod/Work/noesis-gui/Editor/NoesisPostprocessor.cs:41)
UnityEditor.EditorApplication:Internal_CallUpdateFunctions () (at /Users/bokken/build/output/unity/unity/Editor/Mono/EditorApplication.cs:384)
[NOESIS] Can't solve PropertyPath: Type 'UserControl' does not contain a property named 'SelectedOption'
UnityEngine.Debug:LogWarning (object,UnityEngine.Object)
NoesisUnity:UnityLog (int,string) (at /Users/colinmacleod/Work/noesis-gui/Runtime/NoesisUnity.cs:366)
Noesis.GUI:LoadXaml (System.IO.Stream,string) (at /Users/colinmacleod/Work/noesis-gui/Runtime/API/Core/NoesisGUI.cs:292)
NoesisXaml:Load () (at /Users/colinmacleod/Work/noesis-gui/Runtime/NoesisXaml.cs:17)
NoesisPostprocessor/<>c__DisplayClass1_1:<OnPostprocessAllAssets>b__0 () (at /Users/colinmacleod/Work/noesis-gui/Editor/NoesisPostprocessor.cs:41)
UnityEditor.EditorApplication:Internal_CallUpdateFunctions () (at /Users/bokken/build/output/unity/unity/Editor/Mono/EditorApplication.cs:384)
[NOESIS] Binding failed: Path=SelectedOption, Source=UserControl('OptionSelectorControl'), Target=ContentPresenter(''), TargetProperty=ContentControl.Content
UnityEngine.Debug:LogError (object,UnityEngine.Object)
NoesisUnity:UnityLog (int,string) (at /Users/colinmacleod/Work/noesis-gui/Runtime/NoesisUnity.cs:371)
Noesis.GUI:LoadXaml (System.IO.Stream,string) (at /Users/colinmacleod/Work/noesis-gui/Runtime/API/Core/NoesisGUI.cs:292)
NoesisXaml:Load () (at /Users/colinmacleod/Work/noesis-gui/Runtime/NoesisXaml.cs:17)
NoesisPostprocessor/<>c__DisplayClass1_1:<OnPostprocessAllAssets>b__0 () (at /Users/colinmacleod/Work/noesis-gui/Editor/NoesisPostprocessor.cs:41)
UnityEditor.EditorApplication:Internal_CallUpdateFunctions () (at /Users/bokken/build/output/unity/unity/Editor/Mono/EditorApplication.cs:384)
 
User avatar
colinmacleod
Topic Author
Posts: 5
Joined: 22 Mar 2025, 03:04
Contact:

Re: Help Getting Started with Unity Sample Projects

27 Mar 2025, 01:04

I also tried loading the BrushShader example - that fails because the compiler is not available on macOS (which I see is a known issue).

Then, I tried the Buttons example, also on Unity 6000.0.43f1. Running that results in a black screen on both editor and macOS build.

Do you support macOS?
 
User avatar
jsantos
Site Admin
Posts: 4822
Joined: 20 Jan 2012, 17:18
Contact:

Re: Help Getting Started with Unity Sample Projects on macOS

27 Mar 2025, 12:17

Hey Colin, thanks for your time posting here and for visiting us at GDC.
Can you please give me some pointers on how to get started with the Unity samples?
Please, follow the installation steps in the Unity tutorial. Samples must be installed from the package manager. Doing that, you shouldn't have any compiler error.

Unfortunately, Unity 6 introduced several breaking changes (specially on macOS) that we are still fixing: Also, the ShaderCompiler is still not supported on macOs.
 
User avatar
colinmacleod
Topic Author
Posts: 5
Joined: 22 Mar 2025, 03:04
Contact:

Re: Help Getting Started with Unity Sample Projects on macOS

27 Mar 2025, 13:59

I see. Thanks for the pointer on installing the samples.

Edit: I took another look at the installation steps, but I couldn’t quite find where it mentions installing the samples from the package manager. The documentation says:
Our samples are also available in GitHub and the documentation can be read online at our website.
I initially thought this meant I had to install them from GitHub, but it seems the correct way is shown in a screenshot. I got a bit confused here, so if you could clarify that part of the documentation, it’d be super helpful!

Oh, and I’m really excited about using the Shader compiler and Studio on macOS—do you have any idea when that might be available?
 
User avatar
jsantos
Site Admin
Posts: 4822
Joined: 20 Jan 2012, 17:18
Contact:

Re: Help Getting Started with Unity Sample Projects on macOS

31 Mar 2025, 15:22

I initially thought this meant I had to install them from GitHub, but it seems the correct way is shown in a screenshot. I got a bit confused here, so if you could clarify that part of the documentation, it’d be super helpful!
You are totally right. This should be clarified. Thanks for the feedback!
Oh, and I’m really excited about using the Shader compiler and Studio on macOS—do you have any idea when that might be available?
At the moment, there's no definitive ETA for this feature. Our current focus is on stabilizing Studio, but once that's in a good place, we'll reassess and prioritize accordingly.

Who is online

Users browsing this forum: No registered users and 6 guests