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
- Animator Controller Layer name stays unchanged in Layers tab when renamed from Inspector
- [RenderingDebugger]Motion vectors are displayed when Phong Tessellation is used on the material and Skinned Motion Vectors are enabled on the GameObject's Skinned Mesh Renderer component
- Shader Graph Enum Keywords always select last element in Entries when Stages is set to Fragment and Recursive Rendering is enabled in the Scene
- [Mac] Glitchy visual artifacts appear when moving around a scene with Sphere Handles
- Crash on memcpy_repmovs when selecting NavMesh Agent objects while in Play Mode in a specific scene
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.