Questions tagged [unity-dots]
Questions about the Data-Oriented Tech Stack for the Unity Engine, including the new Entity-Component-System architecture, the Burst compiler and the Job system.
28 questions
0
votes
0
answers
44
views
using Unity URP/lit shader with skinning and DOTS
I'm using:
Unity: 6000.0.51f1
Entities: 1.3.14
Entities Graphics: 1.3.2
URP: 17.0.4
Shader Graph: 17.0.4
I'm fairly new to both DOTS and Shaders, but when trying to use DOTS with URP combined with ...
0
votes
0
answers
76
views
Entites are not rendering
I stuck in the problem that my entites are not showing. I found Entities graphic rendering sample for runtime it perfectly worked. But when i am integrating its code, there is no luck. Please tell me ...
1
vote
3
answers
597
views
How to use Unity ECS without URP or HDRP?
Finally, DOTS is completely released with Unity's 2022 version, so I decided to learn it using the latest tutorial by code monkey.
He is using URP for this project.
My question is, URP or HDRP ...
0
votes
0
answers
131
views
Preventing "pass through" situations properly when using ECS based collision detection
package versions I'm using:
Entities: com.unity.entities Version 0.51.1-preview.21
Documentation URL: https://docs.unity3d.com/Packages/[email protected]/manual/index.html
Physics: com.unity....
0
votes
0
answers
114
views
In Unity 2021.3.29(built-in render pipeline, entities 0.51.1-preview.21), what is the proper way of DOTS based collision detection?
Packages Installed:
Entities: com.unity.entities Version 0.51.1-preview.21
Documentation URL: https://docs.unity3d.com/Packages/[email protected]/manual/index.html
Physics: com.unity.physics ...
0
votes
0
answers
138
views
ECS: How do I instantiate Entities from a file of positions
I am quite new to Unity ECS and am trying to instantiate a few thousand entities based on positions stored in a .csv file. The file format can of course change, if that helps. My problem is to import ...
1
vote
0
answers
968
views
How do I instantiate entities from a regular MonoBehaviour in ECS?
I'm loading data from an external source [call it an array of vector3 locations for the sake of this question]. I want to use it to spawn multiple instances of an entity with a renderer and some other ...
1
vote
0
answers
505
views
Unlit camera-facing billboard in ECS/DOTS shader
I'm attempting to create an unlit billboard shader for use in DOTS. I'm using quads to host the material
(Some regular, some DOTS for comparison purposes)
I've cribbed together something from this ...
2
votes
1
answer
3k
views
How do I handle lists/arrays in Unity DOTS/ECS?
I'm new to ECS and am having issues finding the right data structure to use.
For context, I have a galaxy with solar systems that produce resources at a given rate (...
1
vote
0
answers
291
views
DOTS 0.50: Multiple Errors when installing Hybrid Renderer
I'll go straight to the point: I'm getting many errors when installing Hybrid Renderer for my DOTS project. I have no idea what to do. I haven't installed any other packages because there were already ...
0
votes
1
answer
761
views
How to animate game object using entities?
I am having issues with some of the DOTS stack in unity (mostly the rendering and animation) and was hoping I could use gameobjects for those parts. Not sure how to use entities inside a regular ...
0
votes
1
answer
2k
views
Unity DOTS/ECS: Spawning entity programmatically at specific location
I'm interested in learning how to spawn entities from prefabs (from a monobehaviour) at random locations in a scene on a key press. Similar to this video, I'd like to instantiate these objects ...
1
vote
1
answer
240
views
DOTS entity debugger -- trouble inspecting elements within a dynamic buffer
I'm using Unity 2021.2.7f1 with the latest versions of DOTS available.
When I open up the entities debugger "Windows / DOTS / Enities" I can begin inspecting the live component values ...
0
votes
2
answers
769
views
Rotating only 2 axes of rotation quaternion to "point" in a direction
Note: I am using the Unity DOTS ECS framework, which contains less maths functions, but I can probably implement the same functions from standard unity if the code is public. This question is not ...
1
vote
1
answer
147
views
Can I cache and edit Unity RaycastCommands?
I'm simulating a LiDAR and am working to optimize the code. In following along with the RaycastCommand documentation, I have the core functionality working and I'm trying to optimize it.
I see where ...