When I attach BuoyantObject:
InvalidOperationException: The UNKNOWN_OBJECT_TYPE WaterDepth.DepthValues has not been assigned or constructed. All containers must be valid when scheduling a job.
Unity.Jobs.LowLevel.Unsafe.JobsUtility.ScheduleParallelFor (Unity.Jobs.LowLevel.Unsafe.JobsUtility+JobScheduleParameters& parameters, System.Int32 arrayLength, System.Int32 innerloopBatchCount) (at <3b24cc7fa9794ed8ab04312c53e6dedd>:0)
Unity.Jobs.IJobParallelForExtensions.Schedule[T] (T jobData, System.Int32 arrayLength, System.Int32 innerloopBatchCount, Unity.Jobs.JobHandle dependsOn) (at <3b24cc7fa9794ed8ab04312c53e6dedd>:0)
WaterSystem.GerstnerWavesJobs.UpdateHeights () (at ./Packages/com.unity.urp-water-system/Runtime/GerstnerWavesJobs.cs:183)
WaterSystem.Ocean.LateUpdate () (at ./Packages/com.unity.urp-water-system/Runtime/Ocean.cs:256)
When I attach BuoyantObject:
InvalidOperationException: The UNKNOWN_OBJECT_TYPE WaterDepth.DepthValues has not been assigned or constructed. All containers must be valid when scheduling a job.
Unity.Jobs.LowLevel.Unsafe.JobsUtility.ScheduleParallelFor (Unity.Jobs.LowLevel.Unsafe.JobsUtility+JobScheduleParameters& parameters, System.Int32 arrayLength, System.Int32 innerloopBatchCount) (at <3b24cc7fa9794ed8ab04312c53e6dedd>:0)
Unity.Jobs.IJobParallelForExtensions.Schedule[T] (T jobData, System.Int32 arrayLength, System.Int32 innerloopBatchCount, Unity.Jobs.JobHandle dependsOn) (at <3b24cc7fa9794ed8ab04312c53e6dedd>:0)
WaterSystem.GerstnerWavesJobs.UpdateHeights () (at ./Packages/com.unity.urp-water-system/Runtime/GerstnerWavesJobs.cs:183)
WaterSystem.Ocean.LateUpdate () (at ./Packages/com.unity.urp-water-system/Runtime/Ocean.cs:256)