Hi,
i upgraded from version 0.13 or something, this to the newest 0.51.
I got alot of errors, but the error messages were pretty helpful to fix each issue, except for one:
error CS0103: The name 'ComponentType' does not exist in the current context
I am not really sure on how to fix this.
The error itself points to the type “FixedString4096Bytes”:
public struct ToastMessage : IMessage
{
public ToastType Type;
public FixedString4096Bytes Message; //<<< here is the error according to compiler
public FixedString64Bytes SystemName { get; set; }
public static ToastMessage Of(string message)
{
return new ToastMessage()
{
Type = ToastType.Panel,
Message = message
};
}
}
Unity Version: 2021.3.1.0f1
Module versions are in the screenshot below