Search Issue Tracker
Fixed
Fixed in 6000.0.60f1, 6000.2.9f1, 6000.3.0b6, 6000.4.0a2
Votes
1
Found in
2022.3.66f1
6000.0.58f1
6000.2.4f1
6000.3.0b2
6000.4.0a2
Issue ID
UUM-117367
Regression
No
NotImplementedException is thrown when using System.String.Replace(String, String, Boolean, CultureInfo)
Reproduction steps:
1. Open the attached “IN-115424.zip” project
2. Open the “SampleScene”
3. Enter Play mode
4. Observe the Console
Expected Result: No errors in the Console
Actual result: “NotImplementedException: The method or operation is not implemented.” error in the Console
Reproducible with: 2021.3.56f1, 2022.3.66f1, 6000.0.58f1, 6000.2.4f1, 6000.3.0b2
Reproducible on: Windows 11, macOS 15.6 (M1 Max)
Not reproducible on: no other environments tested
Comments (1)
-
LukeDawn
Sep 14, 2025 09:55
I'm getting this error using:-
text.Replace(word, replacement, StringComparison.InvariantCultureIgnoreCase);
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
- Terrain Layer's changes are not added to the Undo history
- “IndexOutOfRangeException: Index was outside the bounds of the array.” error is thrown when large Text (TMP) GameObject Overflow field is set to Ellipsis
- The OnValidate method is not invoked when reverting changes on a Prefab Variant
- The “+” button to create Labels is not deactivated when no labels can be created due to no Categories existing and does nothing when pressed
- The UIElements "GeometryChangedEvent" is not invoked when modifying "VisualElement.style.translate"
Resolution Note:
The Culture invariant version of String.Replace was never implemented by the upstream mono implementation at https://github.com/mono/mono and therefore Unity has inherited it. Mono is currently in stability mode and we are limiting changes to fixes for crashes or hangs primarily.
Resolution Note (fix version 6000.4.0a2):
Fix the System.String.Replace throwing NotImplementedException.
Resolution Note (fix version 6000.3.0b6):
Fix the System.String.Replace throwing NotImplementedException.
Resolution Note (fix version 6000.2.9f1):
Fix the System.String.Replace throwing NotImplementedException.
Resolution Note (fix version 6000.0.60f1):
Fix the System.String.Replace throwing NotImplementedException.