Changing skin during runtime throws error when ShowResizeCursor=false:
MissingReferenceException: The variable resizeCursorHandler of FileBrowser doesn't exist anymore.
You probably need to reassign the resizeCursorHandler variable of the 'FileBrowser' script in the inspector.
UnityEngine.Component.GetComponent[T] () (at <86acb61e0d2b4b36bc20af11093be9a5>:0)
SimpleFileBrowser.FileBrowser.RefreshSkin () (at Assets/UnitySimpleFileBrowser/Plugins/SimpleFileBrowser/Scripts/FileBrowser.cs:1248)
SimpleFileBrowser.FileBrowser.Update () (at Assets/UnitySimpleFileBrowser/Plugins/SimpleFileBrowser/Scripts/FileBrowser.cs:895)
Reproduction steps
Disable the property Show Resize Cursor in file browser prefab
Run in Editor
Open file browser
Select the file browser game object
Change the Skin property in FileBrowser component (e.g from LightSkin to DarkSkin)
=> Error!
Platform specs
Unity version: 2022.1.20f
Platform: Android/Editor
How did you download the plugin: GitHub
Additional info
Filebrowser.cs Line 861 destroys the resizeCursorHandler object and line 1248 calls
resizeCursorHandler.GetComponent().
Description of the bug
Changing skin during runtime throws error when ShowResizeCursor=false:
Reproduction steps
Platform specs
Additional info Filebrowser.cs Line 861 destroys the resizeCursorHandler object and line 1248 calls resizeCursorHandler.GetComponent() .
Possible solution Remove:
Add: