Unity Standard Cutout Shader is not working

Forums: Unity Standard Cutout Shader is not working
A public forum for discussing and asking questions about the Octane for Unity Alpha

Moderator: ChrisHekman

Unity Standard Cutout Shader is not working

Postby shorttrack » Mon Dec 06, 2021 11:25 pm

shorttrack Mon Dec 06, 2021 11:25 pm
Unity Standard Cutout Shader is raising error


ArgumentOutOfRangeException: startIndex cannot be larger than length of string.
Parameter name: startIndex
System.String.Substring (System.Int32 startIndex, System.Int32 length) (at <695d1cc93cca45069c528c15c9fdd749>:0)
HelperScripts.Utility.ThousandSeparators (System.Single f, System.Int32 decimals, System.String separator) (at <b50a8d4b3ee54fa58dc35de8c23ac9ed>:0)
OctaneUnity.RenderWindow.DrawStatusBar () (at <b50a8d4b3ee54fa58dc35de8c23ac9ed>:0)
OctaneUnity.RenderWindow.OnGUI () (at <b50a8d4b3ee54fa58dc35de8c23ac9ed>:0)
UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition, UnityEngine.Rect viewRect) (at <9b8dec54b88e4aa9b9661a30f7e3f61e>:0)
UnityEditor.DockArea.DrawView (UnityEngine.Rect viewRect, UnityEngine.Rect dockAreaRect) (at <9b8dec54b88e4aa9b9661a30f7e3f61e>:0)
UnityEditor.DockArea.OldOnGUI () (at <9b8dec54b88e4aa9b9661a30f7e3f61e>: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 <52d042b59b5f4b5fa4d9379442f5155a>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <52d042b59b5f4b5fa4d9379442f5155a>:0)
UnityEngine.UIElements.IMGUIContainer.DoIMGUIRepaint () (at <52d042b59b5f4b5fa4d9379442f5155a>:0)
UnityEngine.UIElements.UIR.RenderChainCommand.ExecuteNonDrawMesh (UnityEngine.UIElements.UIR.DrawParams drawParams, System.Single pixelsPerPoint, System.Exception& immediateException) (at <52d042b59b5f4b5fa4d9379442f5155a>:0)
Rethrow as ImmediateModeException
UnityEngine.UIElements.UIR.RenderChain.Render () (at <52d042b59b5f4b5fa4d9379442f5155a>:0)
UnityEngine.UIElements.UIRRepaintUpdater.Update () (at <52d042b59b5f4b5fa4d9379442f5155a>:0)
UnityEngine.UIElements.VisualTreeUpdater.UpdateVisualTreePhase (UnityEngine.UIElements.VisualTreeUpdatePhase phase) (at <52d042b59b5f4b5fa4d9379442f5155a>:0)
UnityEngine.UIElements.Panel.UpdateForRepaint () (at <52d042b59b5f4b5fa4d9379442f5155a>:0)
UnityEngine.UIElements.Panel.Repaint (UnityEngine.Event e) (at <52d042b59b5f4b5fa4d9379442f5155a>:0)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <52d042b59b5f4b5fa4d9379442f5155a>:0)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& eventHandled) (at <52d042b59b5f4b5fa4d9379442f5155a>:0)
UnityEngine.UIElements.UIEventRegistration.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <52d042b59b5f4b5fa4d9379442f5155a>:0)
UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2 (System.Int32 i, System.IntPtr ptr) (at <52d042b59b5f4b5fa4d9379442f5155a>:0)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& result) (at <9ff04fda545c4aacb8dab659ad40b2f4>:0)

https://drive.google.com/file/d/13xZbiG ... sp=sharing
shorttrack
 
Posts: 1
Joined: Sun Nov 28, 2021 1:23 pm

Re: Unity Standard Cutout Shader is not working

Postby ChrisHekman » Mon Jan 03, 2022 9:08 am

ChrisHekman Mon Jan 03, 2022 9:08 am
Thanks for reporting this issue.
The error message seems unrelated to the cutout Shader.
Are you sure that this error only happens when you inspect the cutout Shader?
ChrisHekman
OctaneRender Team
OctaneRender Team
 
Posts: 968
Joined: Wed Jan 18, 2017 3:09 pm

Return to Octane for Unity


Who is online

Users browsing this forum: No registered users and 6 guests

Thu Mar 28, 2024 5:21 pm [ UTC ]