We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c10a4d9 commit 17f5ce5Copy full SHA for 17f5ce5
1 file changed
Runtime/SaveLoadManager.cs
@@ -266,7 +266,7 @@ private ISerializationMethod GetSaveLoadMethod(SerializationMethodType methodTyp
266
#endif
267
268
case SerializationMethodType.Custom:
269
- throw new Exception("SaveMethod is Custom but no custom serialization method has been set.");
+ throw new MissingComponentException("SerializationMethodType is Custom but no custom ISerializationMethod was found.");
270
default:
271
throw new ArgumentOutOfRangeException(nameof(methodType), methodType, "SaveLoadMethodType not supported");
272
}
0 commit comments