Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  3. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug (Case 1338318) Many "Incompatible keyword states" errors

Discussion in '2021.2 Beta' started by Peter77, May 24, 2021.

  1. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,589
    Opening the project from bug-report
    Case 1300104
    in Unity 2021.2.0a17 causes the editor to output 270 "Incompatible keyword states" errors without further information.

    upload_2021-5-24_7-14-24.png


    Reproduce
    • Open project from Case 1300104

    Actual
    Many "Incompatible keyword states" errors.

    Expected
    A better error message text that tells how to fix the issue and/or ideally no "Incompatible keyword states" errors at all.
     
  2. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,983
    Hi!
    Thanks for the bug report!
    I'll take a look. There's nothing that can be done about this on your end, unfortunately. The error comes from the keyword system, which got updated in a17 :)
     
    Peter77 likes this.
  3. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,983
    The shader keyword system :)
     
  4. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,983
  5. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,589
    aleksandrk likes this.
  6. atr0phy

    atr0phy

    Joined:
    Nov 5, 2014
    Posts:
    43
    I'm afraid it's been broken again. Unity 2022.1

     
  7. Flow-Fire-Games

    Flow-Fire-Games

    Joined:
    Jun 11, 2015
    Posts:
    305
    We have that too in latest 2021 LTS when building Addressable scenes. Not sure yet if that is actually causing deeper issues for us
     
    Petr777 likes this.
  8. atr0phy

    atr0phy

    Joined:
    Nov 5, 2014
    Posts:
    43
    A new bug report was issued for this because people were still experiencing it in a17 and a18, but it was closed because the devs said it wasn't reproducable. So it sounds like they haven't figured it out what's causing it either.

    I've been having a problem with Shader Graph though I'm not yet confident that these two things are related either. Ultimately the editor crashed when I finally closed it down yesterday, which has actually been a pretty rare occurrence for me so far in v2022.
     
  9. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,983
    Please report a bug - it's something different from what it was a year ago.
     
  10. atr0phy

    atr0phy

    Joined:
    Nov 5, 2014
    Posts:
    43
    I can't reproduce it. But even if I could, I wouldn't be able to tell you with any certainty what conditions lead to its emergence. Those errors provide no stack trace and aren't very descriptive to the user.
     
  11. ngfilms

    ngfilms

    Joined:
    Nov 18, 2015
    Posts:
    30
    full trace
    State comes from an incompatible keyword space
    0x00007ff7ac64b5cd (Unity) StackWalker::GetCurrentCallstack
    0x00007ff7ac652329 (Unity) StackWalker::ShowCallstack
    0x00007ff7ad5b9713 (Unity) GetStacktrace
    0x00007ff7adc4314d (Unity) DebugStringToFile
    0x00007ff7adc42e72 (Unity) AssertImplementation
    0x00007ff7ac35592c (Unity) keywords::LocalKeywordState::ResizeAndValidateSpace
    0x00007ff7adca912d (Unity) AdjustParsedFormToKeywordSpace
    0x00007ff7adcaa3ee (Unity) Shader::CreateFromParsedForm
    0x00007ff7adca948b (Unity) Shader::AwakeFromLoad
    0x00007ff7ac625a2f (Unity) AwakeFromLoadQueue::InvokePersistentManagerAwake
    0x00007ff7ac62649c (Unity) AwakeFromLoadQueue::persistentManagerAwakeFromLoad
    0x00007ff7ac626603 (Unity) AwakeFromLoadQueue::persistentManagerAwakeFromLoad
    0x00007ff7ac5f8dc2 (Unity) PersistentManager::IntegrateAllThreadedObjects
    0x00007ff7ac5f9850 (Unity) PersistentManager::LoadAndIntegrateAllPreallocatedObjects
    0x00007ff7ac5fd7a2 (Unity) PersistentManager::ReadObject
    0x00007ff7ad074deb (Unity) GetAllShaderInfo
    0x00007ff7abe2285e (Unity) ShaderUtil_CUSTOM_GetAllShaderInfo
    0x0000025a180965c7 (Mono JIT Code) (wrapper managed-to-native) UnityEditor.ShaderUtil:GetAllShaderInfo ()
    0x0000025a180959cb (Mono JIT Code) UnityEditor.MaterialEditor/ShaderSelectionDropdown:BuildRoot ()
    0x0000025a180956fd (Mono JIT Code) UnityEditor.IMGUI.Controls.CallbackDataSource:FetchData ()
    0x0000025a180956b5 (Mono JIT Code) UnityEditor.IMGUI.Controls.AdvancedDropdownDataSource:ReloadData ()
    0x0000025a18095523 (Mono JIT Code) UnityEditor.IMGUI.Controls.AdvancedDropdownWindow:OnDirtyList ()
    0x0000025a1809504b (Mono JIT Code) UnityEditor.IMGUI.Controls.AdvancedDropdownWindow:Init (UnityEngine.Rect)
    0x0000025a18094adb (Mono JIT Code) UnityEditor.IMGUI.Controls.AdvancedDropdown:Show (UnityEngine.Rect)
    0x0000025a1c7671c3 (Mono JIT Code) UnityEditor.MaterialEditor:ShaderPopup (UnityEngine.GUIStyle)
    0x0000025a1c766cd3 (Mono JIT Code) UnityEditor.MaterialEditor:OnHeaderControlsGUI ()
    0x0000025a1c765cda (Mono JIT Code) UnityEditor.Editor:DrawHeaderGUI (UnityEditor.Editor,string,single)
    0x0000025a1c765303 (Mono JIT Code) UnityEditor.MaterialEditor:OnHeaderGUI ()
    0x0000025a35ce87f9 (Mono JIT Code) UnityEditor.Editor:DrawHeader ()
    0x0000025a35ce858b (Mono JIT Code) UnityEditor.UIElements.EditorElement:DrawEditorLargeHeader (UnityEditor.Editor[],bool&)
    0x0000025a35ce80b3 (Mono JIT Code) UnityEditor.UIElements.EditorElement:DrawEditorHeader (UnityEditor.Editor[],UnityEngine.Object,bool&)
    0x0000025a35ce722b (Mono JIT Code) UnityEditor.UIElements.EditorElement:HeaderOnGUI ()
    0x0000025a34958aff (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:DoOnGUI (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,bool,UnityEngine.Rect,System.Action,bool)
    0x0000025a34957c1b (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,System.Action,bool)
    0x0000025a35c503cb (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,System.Action,bool)
    0x0000025a35c50233 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,bool)
    0x0000025a35c4ff0b (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:SendEventToIMGUIRaw (UnityEngine.UIElements.EventBase,bool,bool)
    0x0000025a35c4fdf3 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:SendEventToIMGUI (UnityEngine.UIElements.EventBase,bool,bool)
    0x0000025a34745b8b (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleEvent (UnityEngine.UIElements.EventBase)
    0x0000025a3472e6a9 (Mono JIT Code) UnityEngine.UIElements.EventDispatchUtilities:propagateEvent (UnityEngine.UIElements.EventBase)
    0x0000025a35c4f03b (Mono JIT Code) UnityEngine.UIElements.MouseEventDispatchingStrategy:SendEventToRegularTarget (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.BaseVisualElementPanel)
    0x0000025a35c4ef4b (Mono JIT Code) UnityEngine.UIElements.MouseEventDispatchingStrategy:SendEventToTarget (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.BaseVisualElementPanel)
    0x0000025a35c4d213 (Mono JIT Code) UnityEngine.UIElements.MouseEventDispatchingStrategy:DispatchEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
    0x0000025a3472d4de (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ApplyDispatchingStrategies (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel,bool)
    0x0000025a3472cfdb (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:processEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
    0x0000025a347339bb (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:processEventQueue ()
    0x0000025a34731e63 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:OpenGate ()
    0x0000025a34731d9b (Mono JIT Code) UnityEngine.UIElements.EventDispatcherGate:Dispose ()
    0x0000025a3472d263 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:processEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
    0x0000025a3472c9e3 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:Dispatch (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel,UnityEngine.UIElements.DispatchMode)
    0x0000025a3472c85b (Mono JIT Code) UnityEngine.UIElements.BaseVisualElementPanel:SendEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.DispatchMode)
    0x0000025a348f358b (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel)
    0x0000025a348f3033 (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (int,intptr,bool&)
    0x0000025a348f2e4f (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration:processEvent (int,intptr)
    0x0000025a348f2d6b (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration/<>c:<.cctor>b__1_2 (int,intptr)
    0x0000025a348f2bcd (Mono JIT Code) UnityEngine.GUIUtility:processEvent (int,intptr,bool&)
    0x0000025a348f2c86 (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_void_int_intptr_intptr& (object,intptr,intptr,intptr)
    0x00007ffb0345e0a4 (mono-2.0-bdwgc) [mini-runtime.c:3445] mono_jit_runtime_invoke
    0x00007ffb0339e744 (mono-2.0-bdwgc) [object.c:3066] do_runtime_invoke
    0x00007ffb0339e8dc (mono-2.0-bdwgc) [object.c:3113] mono_runtime_invoke
     
  12. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,983
    @ngfilms please submit a bug report :)
    AFAIK this code didn't change much recently, so we will need the shader that reproduces this crash to fix it.
     
  13. OfficialDeVel

    OfficialDeVel

    Joined:
    Oct 11, 2020
    Posts:
    10
    Can confirm about the errors in latest 2021 LTS.
    state comes from an incompatible keyword space
    incompatibile keyword states

    These 2 are occuring, but cant repro also
     
  14. Elegarret

    Elegarret

    Joined:
    Feb 15, 2017
    Posts:
    18
    2021.3.5 error happens
    without any stack
     
  15. Absinthe23

    Absinthe23

    Joined:
    Feb 1, 2015
    Posts:
    16
    Still happening in 2021.3.7f1
     
  16. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,983
    Did anyone report a bug?
     
  17. stevenchan_playstudios

    stevenchan_playstudios

    Joined:
    Mar 1, 2017
    Posts:
    39
  18. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,983
    @stevenchan_playstudios yours has a different stack trace.
    I recently fixed this one; will post here when I know in which version the fix will appear.
     
  19. thang_unity516

    thang_unity516

    Joined:
    Oct 29, 2021
    Posts:
    43
    Don't know if this helps

    In my case, I built addressable and it always give me "State comes from an incompatible keyword space" error

    Then, I go to package to add some debug log and got the location of the bugs:
    1st time: the bug is between "Run 3.4.3" and "Run 3.4.4"
    upload_2022-8-29_19-53-34.png

    2nd time: after I restart my computer, the error is the same but at different location, when I double click at the error, it pointed at the line 214
    upload_2022-8-29_19-54-34.png
    upload_2022-8-29_19-55-6.png

    I use Unity 2021.3.6f1
    I can't show you my project cause it quite big and a private one. My bad

    Does it affect the built addressables?
     

    Attached Files:

    Last edited: Aug 29, 2022
  20. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,983
    Yes - affects Asset Bundles and, inherently, Addressables.
     
  21. GreatVV

    GreatVV

    Joined:
    Feb 6, 2014
    Posts:
    5
    Any ideas how it can be solved? Does somebody know any side effect of it. I have really strange bug with addressable and there are no any errors or exception except this one.
    I feel like if this error will be solved I will be good
     
  22. mmiro1

    mmiro1

    Joined:
    Oct 5, 2021
    Posts:
    3
    Hi! I just upgraded my project from Unity 2020.3.14f1 to 2021.3.8f1 and I encounter this same error when building addressables or using the addressables analyser. It seems to work fine after throwing multiple times that error. I can make a build and everything is working, but I would like to know more about this error and why it happens, any ideas? In the project we also use ShaderGraph, but I don't know if it can cause any of that.

    Here is the log of the first time the error is seen just in case it helps:
    Code (CSharp):
    1. State comes from an incompatible keyword space
    2. UnityEngine.StackTraceUtility:ExtractStackTrace ()
    3. UnityEditor.Build.Content.ContentBuildInterface:CalculatePlayerDependenciesForSceneInternal (string,UnityEditor.Build.Content.BuildSettings,UnityEditor.Build.Content.BuildUsageTagSet,UnityEditor.Build.Content.BuildUsageCache,UnityEditor.Build.Content.DependencyType)
    4. UnityEditor.Build.Content.ContentBuildInterface:CalculatePlayerDependenciesForScene (string,UnityEditor.Build.Content.BuildSettings,UnityEditor.Build.Content.BuildUsageTagSet,UnityEditor.Build.Content.BuildUsageCache)
    5. UnityEditor.Build.Pipeline.Tasks.CalculateSceneDependencyData:Run () (at Library/PackageCache/com.unity.scriptablebuildpipeline@1.20.1/Editor/Tasks/CalculateSceneDependencyData.cs:176)
    6. UnityEditor.Build.Pipeline.BuildTasksRunner:Run (System.Collections.Generic.IList`1<UnityEditor.Build.Pipeline.Interfaces.IBuildTask>,UnityEditor.Build.Pipeline.Interfaces.IBuildContext) (at Library/PackageCache/com.unity.scriptablebuildpipeline@1.20.1/Editor/Shared/BuildTasksRunner.cs:56)
    7. UnityEditor.Build.Pipeline.ContentPipeline:BuildAssetBundles (UnityEditor.Build.Pipeline.Interfaces.IBundleBuildParameters,UnityEditor.Build.Pipeline.Interfaces.IBundleBuildContent,UnityEditor.Build.Pipeline.Interfaces.IBundleBuildResults&,System.Collections.Generic.IList`1<UnityEditor.Build.Pipeline.Interfaces.IBuildTask>,UnityEditor.Build.Pipeline.Interfaces.IContextObject[]) (at Library/PackageCache/com.unity.scriptablebuildpipeline@1.20.1/Editor/ContentPipeline.cs:145)
    8. UnityEditor.AddressableAssets.Build.DataBuilders.BuildScriptPackedMode:DoBuild<UnityEditor.AddressableAssets.Build.AddressablesPlayerBuildResult> (UnityEditor.AddressableAssets.Build.AddressablesDataBuilderInput,UnityEditor.AddressableAssets.Build.DataBuilders.AddressableAssetsBuildContext) (at Library/PackageCache/com.unity.addressables@1.19.19/Editor/Build/DataBuilders/BuildScriptPackedMode.cs:246)
    9. UnityEditor.AddressableAssets.Build.DataBuilders.BuildScriptPackedMode:BuildDataImplementation<UnityEditor.AddressableAssets.Build.AddressablesPlayerBuildResult> (UnityEditor.AddressableAssets.Build.AddressablesDataBuilderInput) (at Library/PackageCache/com.unity.addressables@1.19.19/Editor/Build/DataBuilders/BuildScriptPackedMode.cs:77)
    10. UnityEditor.AddressableAssets.Build.DataBuilders.BuildScriptBase:BuildData<UnityEditor.AddressableAssets.Build.AddressablesPlayerBuildResult> (UnityEditor.AddressableAssets.Build.AddressablesDataBuilderInput) (at Library/PackageCache/com.unity.addressables@1.19.19/Editor/Build/DataBuilders/BuildScriptBase.cs:89)
    11. UnityEditor.AddressableAssets.Settings.AddressableAssetSettings:BuildPlayerContentImpl () (at Library/PackageCache/com.unity.addressables@1.19.19/Editor/Settings/AddressableAssetSettings.cs:2583)
    12. UnityEditor.AddressableAssets.Settings.AddressableAssetSettings:BuildPlayerContent (UnityEditor.AddressableAssets.Build.AddressablesPlayerBuildResult&) (at Library/PackageCache/com.unity.addressables@1.19.19/Editor/Settings/AddressableAssetSettings.cs:2554)
    13. UnityEditor.AddressableAssets.Settings.AddressableAssetSettings:BuildPlayerContent () (at Library/PackageCache/com.unity.addressables@1.19.19/Editor/Settings/AddressableAssetSettings.cs:2337)
    14. UnityEditor.AddressableAssets.GUI.AddressableAssetsSettingsGroupEditor:OnBuildPlayerData () (at Library/PackageCache/com.unity.addressables@1.19.19/Editor/GUI/AddressableAssetsSettingsGroupEditor.cs:364)
    15. UnityEditor.AddressableAssets.GUI.AddressableAssetsSettingsGroupEditor:OnBuildScript (object) (at Library/PackageCache/com.unity.addressables@1.19.19/Editor/GUI/AddressableAssetsSettingsGroupEditor.cs:359)
    16. UnityEditor.GenericMenu:CatchMenu (object,string[],int)
    17.  
    18. [Library/PackageCache/com.unity.scriptablebuildpipeline@1.20.1/Editor/Tasks/CalculateSceneDependencyData.cs line 176]
    Let me know if you need more data. Thanks!
     
  23. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,983
    The issue will be fixed in 2023.1.0a10 and 2022.2.0b8. 2022.1 and 2021.3 to follow - I'll post here when I know the versions the fix will appear in.
     
  24. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,983
    2022.1.17f1 and 2021.3.11f1 will also have this fix :)
     
  25. msh91

    msh91

    Joined:
    Apr 22, 2017
    Posts:
    37
    @aleksandrk
    Just upgraded to 2021.3.12f1 and got this error when running a test.
    Not reproducible as it happened only once - not sure yet how frequently it happens though.

    ---
    Unhandled log message: '[Assert] State comes from an incompatible keyword space'. Use UnityEngine.TestTools.LogAssert.Expect
    ---
    UnityEngine.GUIUtility:processEvent (int,intptr,bool&)
    ---
    State comes from an incompatible keyword space
    Incompatible keyword states
     
  26. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,983
    Please let me know if it reproduces again.
     
    msh91 likes this.
  27. unity_AkGames

    unity_AkGames

    Joined:
    Dec 23, 2020
    Posts:
    12
    Opening unity 2021.3.13f1 gives this errors:
    State comes from an incompatible keyword space
    Assertion failed on expression: 'patch.numberOfObjects.size() == patch.layerIndices.size() * layerSamples'
     

    Attached Files:

    Roman-Ilyin likes this.
  28. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,983
    I'd love to get a bug report :)
    Thanks!

    The second message is not related.
     
  29. unity_AkGames

    unity_AkGames

    Joined:
    Dec 23, 2020
    Posts:
    12
    I think it was because i downgraded from a beta version. I did rebuild the project and i dont have these errors anymore.
     
    aleksandrk likes this.
  30. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,983
    Yes, downgrading is not supported.
     
    unity_AkGames likes this.
  31. liambilly

    liambilly

    Joined:
    May 13, 2022
    Posts:
    154
    getting this error in unity 2021.3.17f1
    State comes from an incompatible keyword space
    0x00007ff72fc7826d (Unity) StackWalker::GetCurrentCallstack
    0x00007ff72fc7ee29 (Unity) StackWalker::ShowCallstack
    0x00007ff730c02cc3 (Unity) GetStacktrace
    0x00007ff7312a3ebd (Unity) DebugStringToFile
    0x00007ff7312a3be2 (Unity) AssertImplementation
    0x00007ff72f980880 (Unity) keywords::LocalKeywordState::Union
    0x00007ff73130ce60 (Unity) AdjustParsedFormToKeywordSpace
    0x00007ff73130e07e (Unity) Shader::CreateFromParsedForm

    how do i fix this
     
  32. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,983
    @liambilly it would be great if you could submit a bug report.
    Thank you!
     
    nasos_333 likes this.
  33. strich

    strich

    Joined:
    Aug 14, 2012
    Posts:
    372
    On 2022.2.12f1 and get the same problem which leads to a hard crash on project import. Bug report: IN-39570
     
    aleksandrk likes this.
  34. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,288
    I get

    "State comes from an incompatible keyword space"

    in Unity 2021.3.24

    Not sure if create any real issue though
     
  35. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,983
    This can lead to a crash or incorrect keywords used during rendering. Please submit a bug report with a repro.
     
    nasos_333 likes this.
  36. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,288

    HI, thanks for the heads up, will try do so asap.

    I get this issue once when i enter the Sky Master ULTIMATE 2021 asset in Unity 2021.3.24, then not get it in play mode etc

    I have not seen any instability due to this, in editor or build though.
     
    aleksandrk likes this.
  37. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,288
    Hi,

    I have submitted a bug report with the Sky Master ULTIMATE 2021 asset, plus any extras i have in the project for next releases, in case that could be one of those items affecting it.

    Report name:
    New Incident created: IN-40497 - State comes from an incompatible keyword space error when start editor

    Please let me know if find something critical that requires handling to avoid the error. Thanks a lot for looking into it.
     
    aleksandrk likes this.
  38. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,288
    Hi, any news on the issue ? Thanks

    New Incident created: IN-40497
     
  39. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,983
    Hi!
    We didn't have a chance to pick it up yet. It's in the list though :)
     
    nasos_333 likes this.
  40. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,288
    Thanks for the heads up. I see it in every project i open now, since i moved all to 2021.3.24
     
  41. securegames123

    securegames123

    Joined:
    Jun 30, 2020
    Posts:
    12
    Yes we are also using 2021.3.24, getting same error every time we open project
     
    nasos_333 likes this.
  42. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,983
    @nasos_333 should be fixed in 2021.3.28f1. In this specific case it's harmless, though.
     
    nasos_333 likes this.
  43. Drake4

    Drake4

    Joined:
    Jun 17, 2022
    Posts:
    30
    Seeing this issue after Startup in Unity 2021.3.27f1. With no further information except the famous "State comes from an incompatible keyword space" line.
     
  44. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,983
    @Drake4 please file a new bug report.
     
  45. jason_yak

    jason_yak

    Joined:
    Aug 25, 2016
    Posts:
    514
    Seeing this in (as of writing) the latest version of Unity v2023.2.2
     
  46. jason_yak

    jason_yak

    Joined:
    Aug 25, 2016
    Posts:
    514
    I clicked on an read only FBX prefab, and printed out the error 40 times:

    [Worker0] State comes from an incompatible keyword space

    and

    [Worker0] Incompatible keyword states
     
  47. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,983
  48. jason_yak

    jason_yak

    Joined:
    Aug 25, 2016
    Posts:
    514
    I’ll see if I can make a small repro project with just the fbx asset that produced the errors.
     
    aleksandrk likes this.
  49. jason_yak

    jason_yak

    Joined:
    Aug 25, 2016
    Posts:
    514
    Unofortunately I can't replicate it consistently, it happens frequently but also randomly, it always triggers when I select a Shader Graph file, but once the errors are thrown it won't appear again for that file even if I restart unity or reimport that particular shader file. I tried moving one of the files that triggered it over to a fresh project and haven't seen it occur yet and I can't submit our main project. So no luck on any kind of useful bug report.
     
  50. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,983
    It's unfortunate.
    I'll add a ticket to improve the error messaging so that it's easier to figure things out.