Search Issue Tracker

Third Party Issue

Votes

2

Found in [Package]

1.3.8 - Entities

Issue ID

ECSB-1472

Regression

No

Error "MissingFieldException: Field not found: UnityEditor.EditorGUI/RecycledTextEditor" when serializing in subscene

Package: Entity Component System (ECS)

-

Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/Scenes/Main.unity” Scene
3. In Hierarchy, click the child GameObject of UnManaged subscene
4. Observe the Console

Expected result: No Errors exist
Actual result: Error “MissingFieldException: Field not found: UnityEditor.EditorGUI/RecycledTextEditor UnityEditor.EditorGUI.s_RecycledEditor Due to: Could not find field in class“ is present

Reproducible with: 1.2.0 (6000.0.33f1), 1.3.8 (6000.0.33f1)

Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested

Note:
- Speed parameter in Enemy Mover Authoring is not present

  1. Resolution Note:

    The issue is not related to Entities and is most likely caused by incompatibility between Odin Inspector and Unity 6. The solution would be to update the Odin Inspector.

Comments (1)

  1. rafael_marteleto_tp

    Jan 15, 2025 16:40

    Same happens in Unity 6 (6000.30.0f)
    My plugin is trying to fetch it through
    `FieldInfo info = typeof(EditorGUI).GetField("s_RecycledEditor", BindingFlags.NonPublic | BindingFlags.Static);`

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.