Bug Description
HintServiceMeow is spamming System.IndexOutOfRangeException errors related to NetworkWriter.WriteString exceeding the size limit (65534 bytes).
The error appears randomly during runtime and continues indefinitely until the server is restarted or crashes. This results in heavy console spam and potential instability.
The issue seems to be caused by sending overly large hint strings (~80KB), but it's unclear which component is generating them or why they are not being truncated or rejected safely.
To Reproduce
Steps are inconsistent (appears randomly), but setup is:
- Run a server with
HintServiceMeow installed
- Use additional UI-related plugins (custom UI plugin + CedMod)
- Let the server run normally
- At some point, hints start triggering the error spam
- Console fills with
WriteString - Value too long exceptions
Expected behavior
Hints should be safely handled and never exceed the network string limit.
If a string is too long, it should be truncated, split, or rejected without throwing exceptions or spamming the console.
Screenshots / Logs
Example error:
[2026-04-13 11:22:58.034 +03:00] [ERROR] [HintServiceMeow] System.IndexOutOfRangeException: NetworkWriter.WriteString - Value too long: 350604 bytes. Limit: 65534 bytes
at Mirror.NetworkWriterExtensions.WriteString (Mirror.NetworkWriter writer, System.String value) [0x00071] in <1bebde0895f14b11be97fb0c4e2cabe4>:0
at Hints.TextHint.Serialize (Mirror.NetworkWriter writer) [0x0000e] in <69208f83d7754673a3350a7c8052e26b>:0
at Hints.HintMessageParameterFunctions.Serialize (Mirror.NetworkWriter writer, Hints.HintMessage value) [0x0003d] in <69208f83d7754673a3350a7c8052e26b>:0
at (wrapper delegate-invoke) System.Action`2[Mirror.NetworkWriter,Hints.HintMessage].invoke_void_T1_T2(Mirror.NetworkWriter,Hints.HintMessage)
at Mirror.NetworkWriter.Write[T] (T value) [0x00023] in <1bebde0895f14b11be97fb0c4e2cabe4>:0
at Mirror.NetworkConnection.Send[T] (T message, System.Int32 channelId) [0x00006] in <1bebde0895f14b11be97fb0c4e2cabe4>:0
at HintServiceMeow.Core.Utilities.UnityAdaptors.ScpslDisplayOutput.ShowHint (HintServiceMeow.Core.Models.Arguments.DisplayOutputArg ev) [0x0005b] in <043af2eac6d344b4a509a44b2649b2a6>:0
This repeats continuously with different string sizes (~79k–83k bytes).
Environment
- OS: Linux
- HintServiceMeow Version: 5.5.1
- Game Version: 14.2.6 (latest)
- Plugin Framework: Exiled
- Other plugins: CedMod + custom UI plugin
Additional context
- The issue does NOT appear immediately after server start - it triggers randomly during gameplay
- Once triggered, it does not stop until restart
- Strong suspicion that some hint content is exceeding the Mirror limit, but HSM does not validate or limit the string size before sending
- Possible interaction with external UI plugin, but unclear whether the root cause is HSM not enforcing size constraints
If needed, I can provide the custom UI plugin for debugging.
Bug Description
HintServiceMeowis spammingSystem.IndexOutOfRangeExceptionerrors related toNetworkWriter.WriteStringexceeding the size limit (65534 bytes).The error appears randomly during runtime and continues indefinitely until the server is restarted or crashes. This results in heavy console spam and potential instability.
The issue seems to be caused by sending overly large hint strings (~80KB), but it's unclear which component is generating them or why they are not being truncated or rejected safely.
To Reproduce
Steps are inconsistent (appears randomly), but setup is:
HintServiceMeowinstalledWriteString - Value too longexceptionsExpected behavior
Hints should be safely handled and never exceed the network string limit.
If a string is too long, it should be truncated, split, or rejected without throwing exceptions or spamming the console.
Screenshots / Logs
Example error:
This repeats continuously with different string sizes (~79k–83k bytes).
Environment
Additional context
If needed, I can provide the custom UI plugin for debugging.