Sounds like a bug, rather than something that can be fixed.
You might try setting timeScale = 0.0001 instead, though that could possibly introduce its own problems it should work until a more appropriate solution presents itself.
I’m getting the same errors.
A lot of !IsFinite(outDistanceForSort) !IsFinite(outDistanceAlongView)
errors.
Console displays it as an error in Assert in file: C:/BuilderAgent/work/…/EditorGUIUtility.cs at line : 330
My scene has an InteractiveCloth, and the whole engine freezes when i pause the game (set TimeScale to 0) and display some GUI. After a while, it turns responsive again and the errors show up.
public static void disableAllCloth() {
InteractiveCloth[] clothing = FindObjectsOfType(typeof(InteractiveCloth)) as InteractiveCloth[];
foreach (InteractiveCloth clothe in clothing) {
clothe.enabled = false;
}
}
public static void enableAllCloth() {
InteractiveCloth[] clothing = FindObjectsOfType(typeof(InteractiveCloth)) as InteractiveCloth[];
foreach (InteractiveCloth clothe in clothing) {
clothe.enabled = true;
}
}
I was running into this issue, so I wrote these two little methods (could easily be combined into one.) Consider the code licensed as public domain/CC0 so use it however you see fit.
I just updated to the latest version of Unituy and I’m getting the same error on Unity 5.3.1p3. Same as angrypenguin I have nothing related to InteractiveCloth.
I suspect this is coming from a Array.Sort that I’m performing on the result of a SphereCastAll, but since there is no call stack it doesn’t help much.
EDIT: Just manage to repro the error even though if the Array.Sort line was commented out. So it’s clearly not that, but it’s Clear that this error is Useless for helping me understand what’s wrong…