Closed DreamersIncStudios closed 2 years ago
Rewrote Ground check system to use DOTS Physics Raycast Job. Unity GO Terrain Collider does not work with DOTS Physics as of 0.6.3 release of Physics Package. Looking into Possible solution Unity Forum on issue Github Might have to use standard mesh instead of terrain system. Or wait for update. Additional GO environment must be converted to entity to for system to work
Vision System now throws errors in Full project System.ArgumentException: A component with type:{0} has not been added to the entity. Thrown from job: AISenses.VisionSystems.VisionSystemJobs.CastBufferRays This Exception was thrown from a job compiled with Burst, which has limited exception support. Turn off burst (Jobs -> Burst -> Enable Compilation) to inspect full exceptions & stacktraces
Fixed with DOTS Terrain Collider Conversion. All Environment need to be converted to entities, Possible negative side effect is that Hybrid renderer needs to be used Possible positive side Effect subscene can be used
Ground check system current using Compenet system with RaycastCommand called 5 times. Roundly 300 entity scence take 5 to 6 ms on main thread per update. Need to review unity dots fpa example to see how Ground check was handle and copy.