기술 자료

Unity Engine


User Manual

Script Reference

Unity Engine


ValidateHeap()

Scans the managed heap to check for corrupted objects.
읽는 시간 1분최근 업데이트: 24일 전

Definition

public static void ValidateHeap()

Remarks

This function only works when you use the Mono scripting backend. If this function discovers a corrupted object, the editor log displays a callstack and the Editor crashes, either through a fatal native assert or an access violation within Mono. Use this function to find memory corruption closer to when it occurs.