Search Issue Tracker
Fixed in 5.1.0
Votes
1
Found in
5.0.0f2
Issue ID
673824
Regression
No
[WebGL] TypeLoad Exception with Auto-Properties in build
To reproduce:
- Open the project and build to webgl
- Observe errors:
TypeLoadException: A type load exception has occurred.
System.Type.MakeGenericType (System.Type[] typeArguments)
System.Reflection.MonoProperty.CreateGetterDelegate (System.Reflection.MethodInfo method)
System.Reflection.MonoProperty.GetValue (System.Object obj, System.Object[] index)
FullSerializer.Internal.fsMetaProperty.Read (System.Object context)
FullSerializer.Internal.fsReflectedConverter.TrySerialize (System.Object instance, FullSerializer.fsData& serialized, System.Type storageType)
FullSerializer.fsSerializer.InternalSerialize_4_Converter (System.Object instance, FullSerializer.fsData& data)
FullSerializer.fsSerializer.InternalSerialize_3_ProcessVersioning (System.Object instance, FullSerializer.fsData& data)
FullSerializer.fsSerializer.InternalSerialize_2_Inheritance (System.Type storageType, System.Object instance, FullSerializer.fsData& data)
FullSerializer.fsSerializer.InternalSerialize_1_ProcessCycles (System.Type storageType, System.Object instance, FullSerializer.fsData& data)
FullSerializer.fsSerializer.TrySerialize (System.Type storageType, System.Object instance, FullSerializer.fsData& data)
StringSerializationAPI.Serialize (System.Type type, System.Object value)
Network.Start ()
Workaround is possible by changing 'Network' script:
public class TokenResponse
{
public string access_token { get; set; }
public string token_type { get; set; }
public int expires_in { get; set; }
}
to
public class TokenResponse
{
public string access_token;
public string token_type;
public int expires_in;
}
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Editor crashes on StoredGraphicsBuffer::GetGfxBufferID when VFX Graph property is modified during Play Mode and Application.targetFrameRate is used to limit FPS
- Crash on NVAPI_Thunk when changing Player resolution while HDR display is used and Direct3D12 is set as the graphics API
- Only one out of multiple cameras is shown in the Play Mode while HDR display is used and Direct3D12 is set as the graphics API
- The "Paste Component as New" option is incorrectly displayed as active despite the action being prohibited
- "TLS Allocator ALLOC_TEMP_TLS" errors are thrown when unsuccessfully importing an FBX file
Add comment