Search Issue Tracker
Won't Fix
Won't Fix in 1.0.X
Votes
0
Found in [Package]
1.0.0-pre.6
Issue ID
AIWFB-24
Regression
No
Entering random numbers in Custom Seed field throws ArgumentOutOfRangeException error
How to reproduce:
1. Create a new project and install the "AI Generators" package
2. In the Project window, right-click -> Create -> 2D -> Generate Sprite
3. In Options > enable Custom Seed
4. Start typing random numbers
Actual results: Error is thrown ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: startIndex
Expected results: No errors, limited size of numbers can be put in field
Reproducible with: AI Generators 1.0.0-pre.6 (6000.2.0a10)
Reproducible on: Windows 11
Not reproducible on: No other environment tested
Full error:
{code:java}
ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: startIndex
System.String.Insert (System.Int32 startIndex, System.String value) (at <fa645a61d2b74251bf1d0456b45056e5>:0)
UnityEngine.TextEditingUtilities.ReplaceSelection (System.String replace) (at <a25e427dce4d4ec98847b1aec292a590>:0)
UnityEngine.TextEditingUtilities.Insert (System.Char c) (at <a25e427dce4d4ec98847b1aec292a590>:0)
UnityEngine.UIElements.KeyboardTextEditorEventHandler.OnKeyDown (UnityEngine.UIElements.KeyDownEvent evt) (at <58863c9beef94fa587c116b6288a6f07>:0)
UnityEngine.UIElements.KeyboardTextEditorEventHandler.HandleEventBubbleUp (UnityEngine.UIElements.EventBase evt) (at <58863c9beef94fa587c116b6288a6f07>:0)
UnityEngine.UIElements.TextEditingManipulator.HandleEventBubbleUp (UnityEngine.UIElements.EventBase evt) (at <58863c9beef94fa587c116b6288a6f07>:0)
UnityEngine.UIElements.TextElement.HandleEventBubbleUp (UnityEngine.UIElements.EventBase evt) (at <58863c9beef94fa587c116b6288a6f07>:0)
UnityEngine.UIElements.EventDispatchUtilities.HandleEventAcrossPropagationPath (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel, UnityEngine.UIElements.VisualElement target, System.Boolean isCapturingTarget) (at <58863c9beef94fa587c116b6288a6f07>:0)
UnityEngine.UIElements.EventDispatchUtilities.DispatchToFocusedElementOrPanelRoot (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel) (at <58863c9beef94fa587c116b6288a6f07>:0)
UnityEngine.UIElements.KeyboardEventBase`1[T].Dispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <58863c9beef94fa587c116b6288a6f07>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel) (at <58863c9beef94fa587c116b6288a6f07>:0)
UnityEngine.UIElements.EventDispatcher.Dispatch (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel, UnityEngine.UIElements.DispatchMode dispatchMode) (at <58863c9beef94fa587c116b6288a6f07>:0)
UnityEngine.UIElements.BaseVisualElementPanel.SendEvent (UnityEngine.UIElements.EventBase e, UnityEngine.UIElements.DispatchMode dispatchMode) (at <58863c9beef94fa587c116b6288a6f07>:0)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <58863c9beef94fa587c116b6288a6f07>:0)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& eventHandled) (at <58863c9beef94fa587c116b6288a6f07>:0)
UnityEngine.UIElements.UIEventRegistration.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <58863c9beef94fa587c116b6288a6f07>:0)
UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2 (System.Int32 i, System.IntPtr ptr) (at <58863c9beef94fa587c116b6288a6f07>:0)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& result) (at <a25e427dce4d4ec98847b1aec292a590>:0)
{code}
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note:
There are no fixes planned for this Bug
Resolution Note (1.0.X):
There are no fixes planned for this Bug