Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
52 views

I wanted to study using ECS for a new project. But after I imported them using the git urls provided by the official site, i ran into some error messages: here are the packages i have: I have ...
Oak橡木's user avatar
0 votes
2 answers
185 views

RenderMeshArray field in an ISystem produces a runtime error: ArgumentException: ‘HexGridRenderSetupSystem’ cannot be constructed as it does not inherit from ComponentSystemBase Unity.Entities....
docchang's user avatar
  • 1,135
1 vote
0 answers
87 views

I am learning DOTS with a specific goal. I have an Entity: a Skeleton, with some Limbs and the Limbs have their own Health and can be killed. When that happens, they drop to the ground. I work in a 3D ...
Mamari's user avatar
  • 11
0 votes
1 answer
269 views

I have this piece of code: foreach (DynamicBuffer<Items> items in SystemAPI.Query<DynamicBuffer<Items>>()) { ... } I am trying to modify a specific element of items. This is how ...
Meeth's user avatar
  • 151
0 votes
1 answer
59 views

There are sub scenes in the main scene, and there is a cube with a TestAuthoring script hanging on it using Unity.Entities; using UnityEngine; class TestAuthoring : MonoBehaviour { public ...
Javin Yang's user avatar
0 votes
1 answer
296 views

I use Unity for a long time, but I’m new to ECS. I have created a SystemBase to change the color of some entities spawned but not all of them. I want to highlight a sub set of my entities. I created ...
MGodoy BR's user avatar
0 votes
2 answers
212 views

I am new to Unity DOTS and for a starter project, I want to move some ship entities given the speed and direction. This is my system: namespace Obscure.SpaceShooter { [BurstCompile] public ...
Obscure021's user avatar
-3 votes
1 answer
334 views

I have many problems with my Unity ECS like this one. Firstly, in a script like that (with many imports for tests) : using Unity.Collections; using Unity.Entities; using Unity.Mathematics; using Unity....
Bama's user avatar
  • 1
0 votes
0 answers
225 views

I wrote a simple test program that creates 100 entities per frame, each entity has a buffer, as follows: void Execute(Entity projectileEntity, [ChunkIndexInQuery] int chunkIndex, ref LocalTransform ...
Kaihui Gao's user avatar
1 vote
1 answer
770 views

Well, there is simple AI logic. In Idle state, each cube finds the closest cube as target and follows them until reaches it than, it searches another closest cube. I tried it with both C# and unity ...
Uğur Tuna Koca's user avatar
0 votes
1 answer
624 views

I am trying to make a simple AI logic that has 3 states; Idle, Chase, Attack. In Idle state human entities should set their targets, in Chase state they will chase and ultimately Attack. I made it but ...
Uğur Tuna Koca's user avatar
0 votes
2 answers
192 views

I am working on a system for spatial partitioning in unity dots and currently. the workin example function looks something like this partial struct CharCopyJob : IJobEntity { public ...
Dhruv Bansal's user avatar
0 votes
1 answer
785 views

I am new to Unity ECS and I have troubles creating a custom aspect. Honestly I am a little bit helpless, why I better describe what I did and give the corresponding error messages. Info: I'm running ...
Krypton's user avatar
  • 85
1 vote
1 answer
988 views

I am trying to learn the Unity Dots / ECS system, and am running into a really incomprehensible issue that has me completely stuck. I am trying to build a life simulation that has a collection of ...
JoeGatling's user avatar
0 votes
3 answers
3k views

I'm trying to create a new game with Unity ECS following these tutorials: https://www.youtube.com/watch?v=H7zAORa3Ux0 https://www.youtube.com/watch?v=IO6_6Y_YUdE However I'm seem to be stuck already ...
Pascal's user avatar
  • 15
0 votes
1 answer
483 views

Below is a snippet of code thats running every update but when I log the local position of the image it still says 0,0,0 when it should be 10,10,10. What am I doing wrong??? Ultimately I am trying to ...
Jake Gergen's user avatar
1 vote
2 answers
1k views

I have a simple Unity project using the Entities and Entities Graphics packages, and it is working fine in the Game View but not visible in the Scene View. Have I missed a step?
Pete Hayman's user avatar
  • 6,115
0 votes
1 answer
904 views

I made a Unity 2022 project that uses ECS 1.0 which works fine in the editor and on the Rift S, but when I build it for the Quest 2 it crashes. If I switch to Mono it works. I had the same issue with ...
David's user avatar
  • 407
4 votes
1 answer
2k views

I was trying to port a small test project from Unity Engine to learn about Unity New Fishers DOTS && ECS. It's a small project where I have a capsule with a Rigidbody and I move it from left ...
aartiui 12's user avatar
0 votes
1 answer
2k views

So I'm trying to learn Unity DOTS and I've built out a program that renders a bunch of cubes. But for some reason, in both the game view and the scene view, when I move the camera around, the cubes ...
Sasha Dresden's user avatar
0 votes
1 answer
203 views

I just realized that my gameplay logic broke after some (allegedly) harmless refactoring changes. Going through my VCS history and some debugging I fond out that the problem was caused by a namespace ...
Aides's user avatar
  • 3,693
1 vote
1 answer
518 views

So I just created a new project to mess around with visual scripting, ECS and DOTS but I'm having some issues to get some of the unity physics stuff to work VisualScriptingPhysics.cs it says that it ...
MonoToast's user avatar
1 vote
0 answers
3k views

The problem: I have 3 game objects, that have PhysicShape and PhysicBody(static) components. I convert it into entities and move on to the scene. I don't the objects will collide with each other, so I ...
Magician Artemka's user avatar
1 vote
1 answer
4k views

I have tried to Instantiate an entity using code: blobAssetStore = new BlobAssetStore(); GameObjectConversionSettings settings = GameObjectConversionSettings.FromWorld(defaultWorld,blobAssetStore); ...
est005's user avatar
  • 138
0 votes
1 answer
2k views

I'm trying to do the following: private void AssignPlayer() { EntityQuery playerQuery = GetEntityQuery(ComponentType.ReadOnly<PlayerTag>()); Entity playerEntity = playerQuery....
user3795555's user avatar
0 votes
1 answer
1k views

I'm using the Unity Entity Component System. When I try to write the following code: Entities.WithAll<SomeComponentData, SomeComponentData2, SomeBufferElementData>() .ForEach((Entity ...
James Bateson's user avatar
0 votes
1 answer
394 views

I've been thinking about some encapsulation of Unity ECS using extension methods and disposable singleton class for keeping references to common resources like BlobAssetStore or EntityManager, ...
Marian Pekár's user avatar
2 votes
0 answers
2k views

I am following this talk https://www.youtube.com/watch?v=BNMrevfB6Q0 and try to understand how to spawn units as I click my mouse (for testing purposes). For this in general, I created a UnitBase etc....
Stefan Falk's user avatar
  • 25.8k