Search Issue Tracker
Won't Fix
Votes
1
Found in
2023.1.0a1
Issue ID
UUM-6024
Regression
No
Transform.Find doesn't find GameObjects that have "/" in their names
Reproduction steps:
1. Open the user's attached project "Test2020.zip"
2. In the Project window open Assets/Scenes/SampleScene
3. Select "Doesnt Work" GameObject and expand it
4. Enter Play mode
Expected result: GameObjects that have "/" in their names are found using Transform.Find
Actual result: GameObjects that have "/" in their names are not found using Transform.Find
Reproducible with: 2018.4.28f1, 2019.4.14f1, 2020.1.11f1, 2020.2.0b10, 2021.1.0a4
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
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
Resolution Note:
Can not be fixed, since we use '/' to search in a hierarchy.
Added clarification was added to the Transform.Find documentation.