Alot of errors on new project with latest Toolkit release

I couldn’t find these errors on the forum and I don’t know what to do at this point. I used to have the Toolkit working fine now it doesn’t

UnityEngine.Debug:LogWarning (object)
CanvasTools.CanvasToolsExporter:BuildProject (EditorBuildType,UnityEngine.Transform[],string,string,bool,int,int,bool) (at /Users/mackey/Documents/Repos/Projects/BabylonToolkit/CommunityEdition/Core/Utilities/CVTools.cs:65)
CanvasTools.CVPanel:OnGUI () (at /Users/mackey/Documents/Repos/Projects/BabylonToolkit/CommunityEdition/Core/Utilities/CVPanel.cs:1309)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Library\PackageCache\com.babylontoolkit.editor@1a4b7dc6913f\Shaders\UnityLitShaders.cs(397,39): error CS0246: The type or namespace name 'BaseShaderGUI' could not be found (are you missing a using directive or an assembly reference?)

Library\PackageCache\com.babylontoolkit.editor@1a4b7dc6913f\Shaders\UnityLitShaders.cs(271,37): error CS0246: The type or namespace name 'BaseShaderGUI' could not be found (are you missing a using directive or an assembly reference?)

Library\PackageCache\com.babylontoolkit.editor@1a4b7dc6913f\Shaders\UnityLitShaders.cs(401,53): error CS0246: The type or namespace name 'MaterialHeaderScopeList' could not be found (are you missing a using directive or an assembly reference?)

Library\PackageCache\com.babylontoolkit.editor@1a4b7dc6913f\Shaders\UnityLitShaders.cs(275,17): error CS0246: The type or namespace name 'LitGUI' could not be found (are you missing a using directive or an assembly reference?)

Library\PackageCache\com.babylontoolkit.editor@1a4b7dc6913f\Shaders\UnityLitShaders.cs(279,53): error CS0246: The type or namespace name 'MaterialHeaderScopeList' could not be found (are you missing a using directive or an assembly reference?)

GUI Error: Invalid GUILayout state in CVPanel view. Verify that all layout Begin/End calls match
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Exception: Lightmapping.lightingSettings is null. Please assign it to an existing asset or a new instance. 
UnityEditor.Lightmapping.get_lightingSettings () (at <80a8ce1980c648dca8e68f0d8aa3b930>:0)
CanvasTools.CanvasToolsExporter.BuildProject (EditorBuildType mode, UnityEngine.Transform[] selection, System.String filename, System.String folder, System.Boolean animationMode, System.Int32 exportHandSystem, System.Int32 exportMeshSystem, System.Boolean exportUnityMetadata) (at /Users/mackey/Documents/Repos/Projects/BabylonToolkit/CommunityEdition/Core/Utilities/CVTools.cs:78)
CanvasTools.CVPanel.OnGUI () (at /Users/mackey/Documents/Repos/Projects/BabylonToolkit/CommunityEdition/Core/Utilities/CVPanel.cs:1309)
UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition) (at <80a8ce1980c648dca8e68f0d8aa3b930>:0)
UnityEditor.DockArea.DrawView (UnityEngine.Rect dockAreaRect) (at <80a8ce1980c648dca8e68f0d8aa3b930>:0)
UnityEditor.DockArea.OldOnGUI () (at <80a8ce1980c648dca8e68f0d8aa3b930>:0)
UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <332857d8803a4878904bcf8f9581ec33>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <332857d8803a4878904bcf8f9581ec33>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <332857d8803a4878904bcf8f9581ec33>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, System.Boolean canAffectFocus) (at <332857d8803a4878904bcf8f9581ec33>:0)
UnityEngine.UIElements.IMGUIContainer.SendEventToIMGUIRaw (UnityEngine.UIElements.EventBase evt, System.Boolean canAffectFocus, System.Boolean verifyBounds) (at <332857d8803a4878904bcf8f9581ec33>:0)
UnityEngine.UIElements.IMGUIContainer.SendEventToIMGUI (UnityEngine.UIElements.EventBase evt, System.Boolean canAffectFocus, System.Boolean verifyBounds) (at <332857d8803a4878904bcf8f9581ec33>:0)
UnityEngine.UIElements.IMGUIContainer.ProcessEvent (UnityEngine.UIElements.EventBase evt) (at <332857d8803a4878904bcf8f9581ec33>:0)
UnityEngine.UIElements.CallbackEventHandler.HandleEvent (UnityEngine.UIElements.EventBase evt) (at <332857d8803a4878904bcf8f9581ec33>:0)
UnityEngine.UIElements.CallbackEventHandler.HandleEventAtCurrentTargetAndPhase (UnityEngine.UIElements.EventBase evt) (at <332857d8803a4878904bcf8f9581ec33>:0)
UnityEngine.UIElements.CallbackEventHandler.HandleEventAtTargetPhase (UnityEngine.UIElements.EventBase evt) (at <332857d8803a4878904bcf8f9581ec33>:0)
UnityEngine.UIElements.MouseCaptureDispatchingStrategy.DispatchEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <332857d8803a4878904bcf8f9581ec33>:0)
UnityEngine.UIElements.EventDispatcher.ApplyDispatchingStrategies (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, System.Boolean imguiEventIsInitiallyUsed) (at <332857d8803a4878904bcf8f9581ec33>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <332857d8803a4878904bcf8f9581ec33>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEventQueue () (at <332857d8803a4878904bcf8f9581ec33>:0)
UnityEngine.UIElements.EventDispatcher.OpenGate () (at <332857d8803a4878904bcf8f9581ec33>:0)
UnityEngine.UIElements.EventDispatcherGate.Dispose () (at <332857d8803a4878904bcf8f9581ec33>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <332857d8803a4878904bcf8f9581ec33>:0)
UnityEngine.UIElements.EventDispatcher.Dispatch (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, UnityEngine.UIElements.DispatchMode dispatchMode) (at <332857d8803a4878904bcf8f9581ec33>:0)
UnityEngine.UIElements.BaseVisualElementPanel.SendEvent (UnityEngine.UIElements.EventBase e, UnityEngine.UIElements.DispatchMode dispatchMode) (at <332857d8803a4878904bcf8f9581ec33>:0)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <332857d8803a4878904bcf8f9581ec33>:0)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& eventHandled) (at <332857d8803a4878904bcf8f9581ec33>:0)
UnityEngine.UIElements.UIEventRegistration.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <332857d8803a4878904bcf8f9581ec33>:0)
UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2 (System.Int32 i, System.IntPtr ptr) (at <332857d8803a4878904bcf8f9581ec33>:0)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& result) (at <74d6aaa3aedf4a279751914e170fef65>:0)`

My bad, I did not see the new minimum Unity Required Version.

Currently using : 2022.3.22F1

Minimum version : 2022.3.33f1

Will update and report back.

cc @MackeyK24 FYI

Yo @Jprules321 … The shader errors are URP errors. Unity seemed to move BaseShaderGUI class that I use when using custom shader materials in URP.

I removed that offending code for now. I will working on updating the URP Custom Shader Materials.

You case use the Built-In Render Pipeline With Standard PBR Shaders instead of URP

OR

You should be able to update to the latest Babylon Toolkit… Which is a breeze now using Unity Package Manager.

Git Installation

In Unity’s Package Manager

Click “+” Button ➔ Add package from git url…

Community Edition

https://github.com/babylontoolkit/communityedition.git

Professional Edition

https://github.com/babylontoolkit/professionaledition.git

Local Installation

In Unity’s Package Manager

Click “+” Button ➔ Add package from tarball…

Community Edition

https://github.com/babylontoolkit/communityedition/releases

Professional Edition

https://github.com/babylontoolkit/professionaledition/releases

I love the one button click package manager updates now: