Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question What is the /home/bokken/ Exception on Linux? Unity 2020

Discussion in 'Linux' started by fran_m, Nov 7, 2020.

  1. fran_m

    fran_m

    Joined:
    Jul 22, 2020
    Posts:
    40
    Hi,
    I am using Linux Mint 20 (Ubuntu 20.04) with Unity Editor 2020.2.

    I get several Exception error similar to this:

    Code (CSharp):
    1. NullReferenceException: Object reference not set to an instance of an object
    2. UnityEditor.PlayerSettingsEditor.UpdateScriptingDefineSymbolsLists () (at /home/bokken/buildslave/unity/build/Editor/Mono/Inspector/PlayerSettingsEditor/PlayerSettingsEditor.cs:3147)
    3. UnityEditor.PlayerSettingsEditor.CheckConsistency (UnityEditor.BuildTargetGroup targetGroup) (at /home/bokken/buildslave/unity/build/Editor/Mono/Inspector/PlayerSettingsEditor/PlayerSettingsEditor.cs:701)
    4. UnityEditor.PlayerSettingsEditor.OnInspectorGUI () (at /home/bokken/buildslave/unity/build/Editor/Mono/Inspector/PlayerSettingsEditor/PlayerSettingsEditor.cs:835)
    5. UnityEditor.AssetSettingsProvider.OnGUI (System.String searchContext) (at /home/bokken/buildslave/unity/build/Editor/Mono/Settings/Providers/AssetSettingsProvider.cs:92)
    6. UnityEditor.SettingsWindow.DrawControls () (at /home/bokken/buildslave/unity/build/Editor/Mono/Settings/SettingsWindow.cs:407)
    7. UnityEditor.SettingsWindow.DrawSettingsPanel () (at /home/bokken/buildslave/unity/build/Editor/Mono/Settings/SettingsWindow.cs:385)
    8. 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 /home/bokken/buildslave/unity/build/External/MirroredPackageSources/com.unity.ui/Core/IMGUIContainer.cs:333)
    9. UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&) (at /home/bokken/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:189)
    All the scripts are under the /home/bokken. I do not have any user called "bokken" under my home folder.
    Anyone knows what is this "bokken" about?
    Thanks
     
    SamuelKeller likes this.
  2. MadWatch

    MadWatch

    Joined:
    May 26, 2016
    Posts:
    112
    Most likely the username of the guy who compiled Unity :)

    The real issue here is the NullReferenceException, not the file paths. But it will be hard do diagnose without taking a peek into Unity's source code. With luck, that exception might be into the open sourced part.
     
    ina and Ishidres like this.
  3. fran_m

    fran_m

    Joined:
    Jul 22, 2020
    Posts:
    40
    So, this is a Unity's editor bug.
     
    jaesungline likes this.
  4. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,505
    This is definitely a bug in the Editor. Can you report a bug on it?

    bokken is the username of our build machines.
     
  5. weareroyale

    weareroyale

    Joined:
    Oct 23, 2014
    Posts:
    4
    I am also seeing errors with references to bokken in multiple Unity versions today. I last opened (multiple versions of) Unity several weeks ago and don't recall seeing any of these then.


    Unity 2020.1.10f1

    Cannot perform upm operation: Request [GET https://packages.unity.com/-/api/search?host=editor&provider=enterprise] failed with status code [504] [NotFound].See console for more details
    UnityEditor.EditorApplication:Internal_CallUpdateFunctions() (at /Users/bokken/buildslave/unity/build/Editor/Mono/EditorApplication.cs:332)

    Error searching for packages.
    UnityEditor.EditorApplication:Internal_CallUpdateFunctions() (at /Users/bokken/buildslave/unity/build/Editor/Mono/EditorApplication.cs:332)



    Unity 2019.4.12f1

    The editor layout could not be fully loaded, this can happen when the layout contains EditorWindows not available in this project
    UnityEditor.WindowLayout:LoadDefaultWindowPreferences() (at /Users/bokken/buildslave/unity/build/Editor/Mono/GUI/WindowLayout.cs:40)
     
  6. fran_m

    fran_m

    Joined:
    Jul 22, 2020
    Posts:
    40
    I also had those ones and even more, I think we will have to wait some time to see a stable Linux Editor.
     
  7. savanthse

    savanthse

    Joined:
    Mar 28, 2018
    Posts:
    1
    I installed linux support and removed packages, I did not need - like vuforia in my instance, this helped me rid the error.
     
  8. ina

    ina

    Joined:
    Nov 15, 2010
    Posts:
    1,058
    curious if bokken has a meaning?
     
  9. mjm703

    mjm703

    Joined:
    Jan 5, 2021
    Posts:
    1
    I think it's a japanese practice sword
     
  10. sabint

    sabint

    Joined:
    Apr 19, 2014
    Posts:
    26
    Watching, I started getting errors of this nature as well (2019 LTS)

    EndLayoutGroup: BeginLayoutGroup must be called first.
    UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) (at /Users/bokken/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:197)
     
    CrandellWS likes this.
  11. Davide1104

    Davide1104

    Joined:
    Jun 12, 2013
    Posts:
    38
    wow what a fantasy from unity developers
     
  12. safakciplak

    safakciplak

    Joined:
    Aug 24, 2018
    Posts:
    1
    Hi guys anyone fixed it? Bokken problem. I need some help.
     
    Pnvanol and Deleted User like this.
  13. MadWatch

    MadWatch

    Joined:
    May 26, 2016
    Posts:
    112
    Bokken is not the problem. Bokken is the name of the build bot. You will find it in any error log thrown by the Unity editor.

    Please define your problem explicitly. What did you do? What didn't work? What error message did you get? What version of Unity are you using? Then report a bug.
     
  14. codeviki

    codeviki

    Joined:
    Nov 18, 2016
    Posts:
    4
    In Unity 2020.3.3 LTS whenever I try to open the wizard for adding object on the node like railings. It throwing a null exception. Not sure if anyone else has this issue. Tried debugging the GSD script but no luck. It work in 2021.2.xx Alpha version of Unity 3d.
    Any help appreciated !

    Error log
    NullReferenceException: Object reference not set to an instance of an object
    UnityEditor.ContainerWindow.FindUnsavedChanges (UnityEditor.View view) (at /home/bokken/buildslave/unity/build/Editor/Mono/ContainerWindow.cs:306)
    UnityEditor.ContainerWindow.UnsavedStateChanged () (at /home/bokken/buildslave/unity/build/Editor/Mono/ContainerWindow.cs:329)
    UnityEditor.EditorWindow.CreateNewWindowForEditorWindow (UnityEditor.EditorWindow window, System.Boolean loadPosition, System.Boolean showImmediately, System.Boolean setFocus) (at /home/bokken/buildslave/unity/build/Editor/Mono/EditorWindow.cs:1159)
    UnityEditor.EditorWindow.Show (System.Boolean immediateDisplay) (at /home/bokken/buildslave/unity/build/Editor/Mono/EditorWindow.cs:614)
    UnityEditor.EditorWindow.Show () (at /home/bokken/buildslave/unity/build/Editor/Mono/EditorWindow.cs:606)
    UnityEditor.EditorWindow.GetWindowPrivate (System.Type t, System.Boolean utility, System.String title, System.Boolean focus) (at /home/bokken/buildslave/unity/build/Editor/Mono/EditorWindow.cs:658)
    UnityEditor.EditorWindow.GetWindow (System.Type t) (at /home/bokken/buildslave/unity/build/Editor/Mono/EditorWindow.cs:690)
    GSDSplineNEditor.DoExtAndEdgeOverview () (at Assets/RoadArchitect/Editor/GSDSplineNEditor.cs:617)
    GSDSplineNEditor.OnInspectorGUI () (at Assets/RoadArchitect/Editor/GSDSplineNEditor.cs:463)
    UnityEditor.UIElements.InspectorElement+<>c__DisplayClass59_0.b__0 () (at /home/bokken/buildslave/unity/build/External/MirroredPackageSources/com.unity.ui/Editor/Inspector/InspectorElement.cs:546)
    UnityEngine.GUIUtility:processEvent(Int32, IntPtr, Boolean&) (at /home/bokken/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:189)
     
  15. MostHated

    MostHated

    Joined:
    Nov 29, 2015
    Posts:
    1,218

    Did you ever find an answer to this? I am getting this problem with a window anytime I try to open it.
     
  16. SamuelKeller

    SamuelKeller

    Joined:
    Nov 9, 2020
    Posts:
    9
    Also have been getting this issue. For me it occurs especially when opening the animator tab while running game.
     
  17. SamuelKeller

    SamuelKeller

    Joined:
    Nov 9, 2020
    Posts:
    9
    Edit: Upgrading to 2020.3.19 LTS fixed the issue
     
  18. Omini

    Omini

    Joined:
    Jul 16, 2013
    Posts:
    9
    I'm using Unity 2020.3.19f1 ,it's happens 3 times when I press play. My project only have some shaders, materials, meshes and textures, no scripts.

    NullReferenceException: Object reference not set to an instance of an object
    UnityEditor.GameObjectInspector.ClearPreviewCache () (at /home/bokken/buildslave/unity/build/Editor/Mono/Inspector/GameObjectInspector.cs:222)
    UnityEditor.GameObjectInspector.OnDisable () (at /home/bokken/buildslave/unity/build/Editor/Mono/Inspector/GameObjectInspector.cs:207)
    UnityEditor.SceneView:OnDisable() (at /home/bokken/buildslave/unity/build/Editor/Mono/SceneView/SceneView.cs:1319)

    The packages are:
    Custom NUnit
    JetBrains Rider Editor
    Sysroot Linux x64
    Test Framework
    TextMeshPro
    TimeLine
    Toolchain Linux x64
    Unity UI
    Version Control
    Visual Studio Code Editor
    Visual Studio Editor

    Edit: I've deleted all objects in the scene and pressed control+z, now it's running without error. Maybe a corrupt cache?
     
  19. Manokim

    Manokim

    Joined:
    Apr 27, 2020
    Posts:
    5
    had the same error popping up! i'll keep an eye for it if it happends again to bug report
    it was using Unity 2020.3.19f1 on Linux
     
  20. AmitApollo

    AmitApollo

    Joined:
    Aug 22, 2012
    Posts:
    2
    I had the exact same error when I tried to load on an exFAT file system. I have an exFAT FS volume on my macbook pro. I have bootcamp Windows Unity and macOS Unity installed accessing an exFAT partition at the same time. I solved it by making a copy on my APFS volume and leave the exFAT mainly for my Windows Volume/Partition
     
  21. JPMay

    JPMay

    Joined:
    Dec 13, 2021
    Posts:
    6
    it's insane this is not fixed. Unity - you're disgusting
     
  22. Rhamis

    Rhamis

    Joined:
    Jan 14, 2017
    Posts:
    3
    FIXED! - I was previously using the Unity version 2019.f17 ... then switched over to Mac Silicone and got this error! ...

    This that fixed it for me was a script relating to "location service" that was migrated over from the older version of unity ... this script was within the asset section of Playmaker (for you it might be a different script in a different package) ...

    Note: The script was never used in any of my coding or prefabs! ... it was just sat there in
     
  23. Rhamis

    Rhamis

    Joined:
    Jan 14, 2017
    Posts:
    3
    Conclusion - this looks to be an error "bokken" suggesting that when a project is moved from older version or different machine then when moving to a new version .... that version of unity my not support that specific code/ function in the error
     
  24. Rhamis

    Rhamis

    Joined:
    Jan 14, 2017
    Posts:
    3
    Just delete the script causing the issue !
     
  25. aaldere1

    aaldere1

    Joined:
    Apr 6, 2021
    Posts:
    5
    I can verify that moving the project OUT of a drive formatted in exFAT solved all of the issues mentioned above.
     
  26. lzbk

    lzbk

    Joined:
    Dec 3, 2017
    Posts:
    10
    I'm not sure this is the same bug, as I run my project on an ext4 drive (but with no diacritics in the paths : it has been an issue).
    Anyway, it seems unity hub f… mixes up the jdk/sdk/etc rights upon installation. This video solves some of the bugs that come from executable files not having x rights.

    In case you're not patient : the last release that allowed me to build apks was 2020.3.25f1 so I copied all the rights of all the files in AndroidPlayer and made a chmod to match them. You can download the attached file, change the first line so that it matches your AndroidPlayer path and run the script.
    Warning : some files present in 2020.3.25f1 are not in subsequent versions, the script will issue a warning (don't pay attention). If you want to make sure you don't ruin anything you can copy your AndroidPlayer folder before running the script (which is not too dangerous, just chmoding files whose rights are already f____ed up). The only commands in the scripts are ``cd`` and ``chmod``.
     

    Attached Files:

  27. Deleted User

    Deleted User

    Guest

    me too~ hope for fix
     
  28. kamran-bigdely

    kamran-bigdely

    Joined:
    Jun 19, 2014
    Posts:
    25
    I just got the same issue. I'm on Unity 2021.3.8f1 (MacPro). Here is the log:

    NullReferenceException: Object reference not set to an instance of an object
    UnityEditor.SceneView.CallOnPreSceneGUI () (at /Users/bokken/buildslave/unity/build/Editor/Mono/SceneView/SceneView.cs:3690)
    UnityEditor.SceneView.DoOnPreSceneGUICallbacks (UnityEngine.Rect cameraRect) (at /Users/bokken/buildslave/unity/build/Editor/Mono/SceneView/SceneView.cs:2248)
    UnityEditor.SceneView.DoOnGUI () (at /Users/bokken/buildslave/unity/build/Editor/Mono/SceneView/SceneView.cs:2330)
    UnityEditor.SceneView.OnSceneGUI () (at /Users/bokken/buildslave/unity/build/Editor/Mono/SceneView/SceneView.cs:2255)
    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 /Users/bokken/buildslave/unity/build/ModuleOverrides/com.unity.ui/Core/IMGUIContainer.cs:372)
    UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at /Users/bokken/buildslave/unity/build/ModuleOverrides/com.unity.ui/Core/IMGUIContainer.cs:693)
    UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, System.Action onGUIHandler, System.Boolean canAffectFocus) (at /Users/bokken/buildslave/unity/build/ModuleOverrides/com.unity.ui/Core/IMGUIContainer.cs:665)
    UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, System.Boolean canAffectFocus) (at /Users/bokken/buildslave/unity/build/ModuleOverrides/com.unity.ui/Core/IMGUIContainer.cs:658)
    UnityEngine.UIElements.IMGUIContainer.SendEventToIMGUIRaw (UnityEngine.UIElements.EventBase evt, System.Boolean canAffectFocus, System.Boolean verifyBounds) (at /Users/bokken/buildslave/unity/build/ModuleOverrides/com.unity.ui/Core/IMGUIContainer.cs:618)
    UnityEngine.UIElements.IMGUIContainer.SendEventToIMGUI (UnityEngine.UIElements.EventBase evt, System.Boolean canAffectFocus, System.Boolean verifyBounds) (at /Users/bokken/buildslave/unity/build/ModuleOverrides/com.unity.ui/Core/IMGUIContainer.cs:607)
    UnityEngine.UIElements.EventDispatchUtilities.PropagateToIMGUIContainer (UnityEngine.UIElements.VisualElement root, UnityEngine.UIElements.EventBase evt) (at /Users/bokken/buildslave/unity/build/ModuleOverrides/com.unity.ui/Core/Events/IEventDispatchingStrategy.cs:178)
    UnityEngine.UIElements.EventDispatchUtilities.PropagateToIMGUIContainer (UnityEngine.UIElements.VisualElement root, UnityEngine.UIElements.EventBase evt) (at /Users/bokken/buildslave/unity/build/ModuleOverrides/com.unity.ui/Core/Events/IEventDispatchingStrategy.cs:193)
    UnityEngine.UIElements.EventDispatchUtilities.PropagateToIMGUIContainer (UnityEngine.UIElements.VisualElement root, UnityEngine.UIElements.EventBase evt) (at /Users/bokken/buildslave/unity/build/ModuleOverrides/com.unity.ui/Core/Events/IEventDispatchingStrategy.cs:193)
    UnityEngine.UIElements.EventDispatchUtilities.PropagateToIMGUIContainer (UnityEngine.UIElements.VisualElement root, UnityEngine.UIElements.EventBase evt) (at /Users/bokken/buildslave/unity/build/ModuleOverrides/com.unity.ui/Core/Events/IEventDispatchingStrategy.cs:193)
    UnityEngine.UIElements.EventDispatchUtilities.PropagateToIMGUIContainer (UnityEngine.UIElements.VisualElement root, UnityEngine.UIElements.EventBase evt) (at /Users/bokken/buildslave/unity/build/ModuleOverrides/com.unity.ui/Core/Events/IEventDispatchingStrategy.cs:193)
    UnityEngine.UIElements.EventDispatchUtilities.PropagateToIMGUIContainer (UnityEngine.UIElements.VisualElement root, UnityEngine.UIElements.EventBase evt) (at /Users/bokken/buildslave/unity/build/ModuleOverrides/com.unity.ui/Core/Events/IEventDispatchingStrategy.cs:193)
    UnityEngine.UIElements.EventDispatchUtilities.PropagateToIMGUIContainer (UnityEngine.UIElements.VisualElement root, UnityEngine.UIElements.EventBase evt) (at /Users/bokken/buildslave/unity/build/ModuleOverrides/com.unity.ui/Core/Events/IEventDispatchingStrategy.cs:193)
    UnityEngine.UIElements.EventDispatchUtilities.PropagateToIMGUIContainer (UnityEngine.UIElements.VisualElement root, UnityEngine.UIElements.EventBase evt) (at /Users/bokken/buildslave/unity/build/ModuleOverrides/com.unity.ui/Core/Events/IEventDispatchingStrategy.cs:193)
    UnityEngine.UIElements.MouseEventDispatchingStrategy.SendEventToIMGUIContainer (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel) (at /Users/bokken/buildslave/unity/build/ModuleOverrides/com.unity.ui/Core/Events/MouseEventDispatchingStrategy.cs:56)
    UnityEngine.UIElements.MouseEventDispatchingStrategy.SendEventToTarget (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel) (at /Users/bokken/buildslave/unity/build/ModuleOverrides/com.unity.ui/Core/Events/MouseEventDispatchingStrategy.cs:26)
    UnityEngine.UIElements.MouseEventDispatchingStrategy.DispatchEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel iPanel) (at /Users/bokken/buildslave/unity/build/ModuleOverrides/com.unity.ui/Core/Events/MouseEventDispatchingStrategy.cs:19)
    UnityEngine.UIElements.EventDispatcher.ApplyDispatchingStrategies (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, System.Boolean imguiEventIsInitiallyUsed) (at /Users/bokken/buildslave/unity/build/ModuleOverrides/com.unity.ui/Core/EventDispatcher.cs:381)
    UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at /Users/bokken/buildslave/unity/build/ModuleOverrides/com.unity.ui/Core/EventDispatcher.cs:344)
    UnityEngine.UIElements.EventDispatcher.Dispatch (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, UnityEngine.UIElements.DispatchMode dispatchMode) (at /Users/bokken/buildslave/unity/build/ModuleOverrides/com.unity.ui/Core/EventDispatcher.cs:222)
    UnityEngine.UIElements.BaseVisualElementPanel.SendEvent (UnityEngine.UIElements.EventBase e, UnityEngine.UIElements.DispatchMode dispatchMode) (at /Users/bokken/buildslave/unity/build/ModuleOverrides/com.unity.ui/Core/Panel.cs:419)
    UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at /Users/bokken/buildslave/unity/build/ModuleOverrides/com.unity.ui/Core/UIElementsUtility.cs:468)
    UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& eventHandled) (at /Users/bokken/buildslave/unity/build/ModuleOverrides/com.unity.ui/Core/UIElementsUtility.cs:211)
    UnityEngine.UIElements.UIEventRegistration.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at /Users/bokken/buildslave/unity/build/ModuleOverrides/com.unity.ui/Core/UIElementsUtility.cs:74)
    UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2 (System.Int32 i, System.IntPtr ptr) (at /Users/bokken/buildslave/unity/build/ModuleOverrides/com.unity.ui/Core/UIElementsUtility.cs:28)
    UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& result) (at /Users/bokken/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:189)
     
  29. Pnvanol

    Pnvanol

    Joined:
    Jan 11, 2016
    Posts:
    110
    Having the same problem my linux editor keeps crashing with that bug, any fix?
     
  30. valentecaio95

    valentecaio95

    Joined:
    Nov 26, 2022
    Posts:
    1
    Having this error here when trying to create a new palette :/

    ArgumentNullException: Value cannot be null.
    Parameter name: sameAssetFile
    UnityEditor.AssetDatabase.AddObjectToAsset (UnityEngine.Object objectToAdd, UnityEngine.Object assetObject) (at /home/bokken/build/output/unity/unity/Modules/AssetDatabase/Editor/ScriptBindings/AssetDatabase.bindings.cs:199)
    UnityEditor.Tilemaps.GridPaletteUtility.CreateNewPalette (System.String folderPath, System.String name, UnityEngine.GridLayout+CellLayout layout, UnityEditor.GridPalette+CellSizing cellSizing, UnityEngine.Vector3 cellSize, UnityEngine.GridLayout+CellSwizzle swizzle, UnityEngine.TransparencySortMode sortMode, UnityEngine.Vector3 sortAxis) (at Library/PackageCache/com.unity.2d.tilemap@1.0.0/Editor/GridPaletteUtility.cs:137)
    UnityEditor.Tilemaps.GridPaletteUtility.CreateNewPaletteAtCurrentFolder (System.String name, UnityEngine.GridLayout+CellLayout layout, UnityEditor.GridPalette+CellSizing cellSizing, UnityEngine.Vector3 cellSize, UnityEngine.GridLayout+CellSwizzle swizzle, UnityEngine.TransparencySortMode sortMode, UnityEngine.Vector3 sortAxis) (at Library/PackageCache/com.unity.2d.tilemap@1.0.0/Editor/GridPaletteUtility.cs:78)
    UnityEditor.Tilemaps.GridPaletteAddPopup.OnGUI () (at Library/PackageCache/com.unity.2d.tilemap@1.0.0/Editor/GridPaletteAddPopup.cs:160)
    UnityEditor.HostView.OldOnGUI () (at /home/bokken/build/output/unity/unity/Editor/Mono/HostView.cs:266)
    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 /home/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/IMGUIContainer.cs:372)
    UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at /home/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/IMGUIContainer.cs:693)
    UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, System.Action onGUIHandler, System.Boolean canAffectFocus) (at /home/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/IMGUIContainer.cs:665)
    UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, System.Boolean canAffectFocus) (at /home/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/IMGUIContainer.cs:658)
    UnityEngine.UIElements.IMGUIContainer.SendEventToIMGUIRaw (UnityEngine.UIElements.EventBase evt, System.Boolean canAffectFocus, System.Boolean verifyBounds) (at /home/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/IMGUIContainer.cs:618)
    UnityEngine.UIElements.IMGUIContainer.SendEventToIMGUI (UnityEngine.UIElements.EventBase evt, System.Boolean canAffectFocus, System.Boolean verifyBounds) (at /home/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/IMGUIContainer.cs:607)
    UnityEngine.UIElements.IMGUIContainer.HandleEvent (UnityEngine.UIElements.EventBase evt) (at /home/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/IMGUIContainer.cs:535)
    UnityEngine.UIElements.CallbackEventHandler.HandleEventAtTargetPhase (UnityEngine.UIElements.EventBase evt) (at /home/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/Events/EventHandler.cs:151)
    UnityEngine.UIElements.MouseCaptureDispatchingStrategy.DispatchEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at /home/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/Events/MouseCaptureDispatchingStrategy.cs:88)
    UnityEngine.UIElements.EventDispatcher.ApplyDispatchingStrategies (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, System.Boolean imguiEventIsInitiallyUsed) (at /home/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/EventDispatcher.cs:381)
    UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at /home/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/EventDispatcher.cs:344)
    UnityEngine.UIElements.EventDispatcher.ProcessEventQueue () (at /home/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/EventDispatcher.cs:306)
    UnityEngine.UIElements.EventDispatcher.OpenGate () (at /home/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/EventDispatcher.cs:270)
    UnityEngine.UIElements.EventDispatcherGate.Dispose () (at /home/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/EventDispatcher.cs:75)
    UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at /home/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/EventDispatcher.cs:372)
    UnityEngine.UIElements.EventDispatcher.Dispatch (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, UnityEngine.UIElements.DispatchMode dispatchMode) (at /home/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/EventDispatcher.cs:222)
    UnityEngine.UIElements.BaseVisualElementPanel.SendEvent (UnityEngine.UIElements.EventBase e, UnityEngine.UIElements.DispatchMode dispatchMode) (at /home/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/Panel.cs:419)
    UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at /home/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/UIElementsUtility.cs:468)
    UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& eventHandled) (at /home/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/UIElementsUtility.cs:211)
    UnityEngine.UIElements.UIEventRegistration.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at /home/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/UIElementsUtility.cs:74)
    UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2 (System.Int32 i, System.IntPtr ptr) (at /home/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/UIElementsUtility.cs:28)
    UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& result) (at /home/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:189)
     
  31. MostHated

    MostHated

    Joined:
    Nov 29, 2015
    Posts:
    1,218
    It says what your issue is right here. The very first two lines.

    Code (CSharp):
    1. ArgumentNullException: Value cannot be null.
    2. Parameter name: sameAssetFile
     
  32. UnknownCoder64

    UnknownCoder64

    Joined:
    Jan 17, 2018
    Posts:
    1
    I get /Users/Bokken/.../SceneView errors if there is a Unity Licensing problem.
    Nothing in the string of errors tells me about licensing, that I can see.
    My license allows me to run Unity on 2 machines concurrently, but Unity supports 3 architectures (win, mac, linux).
    Being old-fashioned, I thought I'd test my asset on all three architectures before releasing to the asset store. But to do this, I have to release one of those 2 licenses on the mac or the win-PC, before I do anything on the linux box and vice-versa. If I forget to release the linux license before switching back to the mac, then I get a load of /Users/Bokken/.../SceneView errors, which did puzzle me for a while. When I switch back to the linux box, return its license, switch back to Mac and re-activate the Mac license, then the errors disappear, without any other change being made.
     
  33. Pnvanol

    Pnvanol

    Joined:
    Jan 11, 2016
    Posts:
    110
    keep crashing with this now
    Caught fatal signal - signo:11 code:1 errno:0 addr:0x33
    Launching bug reporter
    Attribute Qt::AA_EnableHighDpiScaling must be set before QCoreApplication is created.
    QObject: Cannot create children for a parent that is in a different thread.
    (Parent is QObject(0x2d22040), parent's thread is QThread(0x13d3400), current thread is Thread(0x15f2150)
     
  34. RichAllen2023

    RichAllen2023

    Joined:
    Jul 19, 2016
    Posts:
    1,026
    Not sure if it's related, but I finally managed to get 3 different official tutorial projects to work in the 2021 version last week.

    Might be worth an upgrade from the 2020 version.
     
  35. halley

    halley

    Joined:
    Aug 26, 2013
    Posts:
    1,872
    Who are you replying to, Rich? The original necrotic thread from 2020 that is long gone or irrelevant, or the person who just said they're using the newest builds? Or are you just off topic?
     
  36. RichAllen2023

    RichAllen2023

    Joined:
    Jul 19, 2016
    Posts:
    1,026
    Nobody in particular, just a general comment :D
     
  37. kimtomom06

    kimtomom06

    Joined:
    Jan 31, 2018
    Posts:
    8
    I have similar bug too
    mine says

    UnityEditor.BuildPlayerWindow+BuildMethodException: 5 errors
    at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002c0] in /Users/bokken/build/output/unity/unity/Editor/Mono/BuildPlayerWindowBuildMethods.cs:190
    at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in /Users/bokken/build/output/unity/unity/Editor/Mono/BuildPlayerWindowBuildMethods.cs:95
    UnityEngine.GUIUtility:processEvent (int,intptr,bool&) (at /Users/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:189)
     
    Pnvanol likes this.
  38. CandyGrunt

    CandyGrunt

    Joined:
    Feb 13, 2023
    Posts:
    1
    Similar bug. bokken
    Unity 2021.3.23 LTS Build Failed for macOS.
    I just upgraded the Unity version, and got this error on build.
    Nothing was changed, and building worked prior to upgrade.

    BuildFailedException: Incremental Player build failed!

    UnityEditor.Modules.BeeBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args) (at /Users/bokken/build/output/unity/unity/Editor/Mono/Modules/BeeBuildPostprocessor.cs:604)

    UnityEditor.OSXStandalone.OSXDesktopStandalonePostProcessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args) (at /Users/bokken/build/output/unity/unity/PlatformDependent/OSXPlayer/Extensions/Managed/OSXDesktopStandalonePostProcessor.cs:117)

    UnityEditor.Modules.DefaultBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at /Users/bokken/build/output/unity/unity/Editor/Mono/Modules/DefaultBuildPostprocessor.cs:28)

    UnityEditor.PostprocessBuildPlayer.Postprocess (UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget target, System.Int32 subtarget, System.String installPath, System.String companyName, System.String productName, System.Int32 width, System.Int32 height, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at /Users/bokken/build/output/unity/unity/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:370)

    UnityEngine.GUIUtility:processEvent(Int32, IntPtr, Boolean&) (at /Users/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:189)
     
    uniqueinx and codekiddddd like this.
  39. codekiddddd

    codekiddddd

    Joined:
    Mar 4, 2015
    Posts:
    5
    Unity 2021.3.23 LTS
    Empty project:
     
  40. msaqlainz

    msaqlainz

    Joined:
    Mar 6, 2023
    Posts:
    2
    Same issue

    Code (CSharp):
    1. UnityEditor.BuildPlayerWindow+BuildMethodException: Error building Player because scripts have compile errors in the editor
    2.   at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002ce] in /Users/bokken/build/output/unity/unity/Editor/Mono/BuildPlayerWindowBuildMethods.cs:193
    3.   at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in /Users/bokken/build/output/unity/unity/Editor/Mono/BuildPlayerWindowBuildMethods.cs:94
    4. UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) (at /Users/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:189)
    5.  
     
  41. willardj

    willardj

    Joined:
    Feb 23, 2019
    Posts:
    2
    I just met Bokken. Restart of the editor fixed it. So you might want to try that first.
     
    jasonrbrock likes this.
  42. jasonrbrock

    jasonrbrock

    Joined:
    May 22, 2019
    Posts:
    13
    just upgraded to 26f1 Silicon .. what @willardj said.
     
  43. vrketing

    vrketing

    Joined:
    Mar 1, 2018
    Posts:
    2
    For me only a complete reinstall did the trick. 2021.3.27f1.
     
  44. Thaina

    Thaina

    Joined:
    Jul 13, 2012
    Posts:
    1,050
    2022.3.5f1 and the name bokken still came out with nullreference exception or file location related warning and error
     
  45. ChiwTheNeko

    ChiwTheNeko

    Joined:
    Mar 24, 2022
    Posts:
    107
    The name bokken will come out in all kind of errors that have some native Unity function in the stack trace. Bokken is not the problem. Please stop posting in this thread.