having some weird implicit conversion issue with FixedString.
So I have this funtion cs public static void Warning(FixedString4096Bytes message, LogChannel channel = default, FixedString512Bytes helpPageUrl = default) => LogTo(message, LogLevel.Warning, channel, helpPageUrl); in the Log class. Calling it manually for example by using Log.Debug($"CMS Remapping path {path}", LogChannel.Content); works perfectly fine. However I made a little wrapper/helper that looks like this: public static void Debug(FixedString4096Bytes text) => Log.Debug(text, LogChannel.Content, null);
and when calling it I instead get an exception in FixedString512.op_Implicit
NullReferenceException: Object reference not set to an instance of an object
Unity.Collections.FixedStringMethods.CopyFromTruncated[T] (T& fs, System.String s) (at Library/PackageCache/com.unity.collections@d49facba0036/Unity.Collections/FixedStringAppendMethods.cs:417)
Unity.Collections.FixedString512Bytes.Initialize (System.String source) (at Library/PackageCache/com.unity.collections@d49facba0036/Unity.Collections/FixedString.gen.cs:5284)
Unity.Collections.FixedString512Bytes..ctor (System.String source) (at Library/PackageCache/com.unity.collections@d49facba0036/Unity.Collections/FixedString.gen.cs:5272)
Unity.Collections.FixedString512Bytes.op_Implicit (System.String b) (at Library/PackageCache/com.unity.collections@d49facba0036/Unity.Collections/FixedString.gen.cs:5769)```
Anyone have any idea what could be causing it?