Giter VIP home page Giter VIP logo

unity-ecs-rts's Introduction

Pure ECS RTS with Unity3D

Trying to create an RTS game using Unity and the new DOTS (Data-Oriented Tech Stack)

Contributions welcome!

Link to the tutorial series:

playlist image

Core Packages used:

Good ECS Resources

unity-ecs-rts's People

Contributors

skhamis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

unity-ecs-rts's Issues

Unity reference links broken

Seems like the links in the readme are dead already.

Also, what happened to the RTS Bootstrap file? Trying to follow along as I watch.

Lastly: thanks for making a step by step ECS tutorial!

Burst.Compiler.IL.CompilerException: Error while processing function

Hi
I am trying your ECS repo in Unity 2018.3f1 and when I played it in the Editor I got the following error
Unexpected exception Burst.Compiler.IL.CompilerException: Unexpected exception ---> Burst.Compiler.IL.CompilerException: Error while processing function System.Void AABBCollisionSystem/AABBCollisionJob::Execute(System.Int32) ---> Burst.Compiler.IL.CompilerException: Unexpected error while processing IL_002f: ldstr "Collision Detected" at D:\Unity-ECS-RTS-master\Unity-ECS-RTS-master\Assets\Systems\AABBCollisionSystem.cs(20,21) ---> System.NotSupportedException: Using a managed string is not supported by burst
at Burst.Compiler.IL.ILVisitor.NotSupported (Burst.Compiler.IL.Syntax.ILInstruction inst) [0x00155] in :0
at Burst.Compiler.IL.ILVisitor.ProcessBlocks () [0x0002e] in :0
at Burst.Compiler.IL.ILVisitor.ProcessFunctionBody (Burst.Compiler.IL.Syntax.ILFunction function) [0x00103] in :0
at Burst.Compiler.IL.ILVisitor.VisitPendingFunctions () [0x0000e] in :0
--- End of inner exception stack trace ---
at Burst.Compiler.IL.ILVisitor.VisitPendingFunctions () [0x00033] in :0
at Burst.Compiler.IL.ILVisitor.VisitEntryPointFunction (Burst.Compiler.IL.MethodReferenceWithHash methodReference) [0x00066] in :0
at Burst.Compiler.IL.ILVisitor.VisitEntryPointFunction (Burst.Backend.Module module, Burst.Compiler.IL.MethodReferenceWithHash methodReference) [0x0001a] in :0
at Burst.Compiler.IL.ILVerifier.VisitEntryPointFunction (Burst.Backend.Module module, Burst.Compiler.IL.MethodReferenceWithHash methodReference) [0x00000] in :0
--- End of inner exception stack trace ---
at Burst.Compiler.IL.ILVerifier.VisitEntryPointFunction (Burst.Backend.Module module, Burst.Compiler.IL.MethodReferenceWithHash methodReference) [0x0001f] in :0
at Burst.Compiler.IL.ILHash.CompileHash (Burst.Backend.Module module, Burst.Compiler.IL.MethodReferenceWithHash methodReference) [0x00000] in :0
at Burst.Compiler.IL.NativeCompiler.ComputeHash () [0x000ea] in :0
at Burst.Compiler.IL.Jit.JitCompiler.CompileMethod (Mono.Cecil.MethodReference methodReference, Burst.Compiler.IL.Jit.JitOptions jitOptions) [0x000aa] in :0
at Burst.Compiler.IL.Jit.JitCompilerService.Compile (Burst.Compiler.IL.Jit.JitCompilerService+CompileJob job) [0x002bc] in :0
While compiling job: System.Void
Unity.Jobs.IJobParallelForExtensions/ParallelForJobStruct`1<AABBCollisionSystem/AABBCollisionJob>::Execute(T&,System.IntPtr,System.IntPtr,Unity.Jobs.LowLevel.Unsafe.JobRanges&,System.Int32)

For it, Could you help me to fix it?
Thanks for your time
Alejandro
PS. Thanks to share your efforts. I am very excited to learn ECS !!!

error CS0246: The type or namespace name 'AABB' could not be found (are you missing a using directive or an assembly reference?)

Hi
I am trying to work with your RTS project in Unity 2019.1b8 and I updated the Mathematics (1.0.0 preview 1) and Entities( 0.0.12 preview 29) packages ( to do it I had that eliminate the Library folder and I opened again the project en 2019.1b8 after that I could do it
and I have 2 errors

Library\PackageCache\[email protected]\Unity.Mathematics.Extensions\MinMaxAABB.cs(28,52): error CS0246: The type or namespace name 'AABB' could not be found (are you missing a using directive or an assembly reference?)

Library\PackageCache\[email protected]\Unity.Mathematics.Extensions\MinMaxAABB.cs(33,41): error CS0246: The type or namespace name 'AABB' could not be found (are you missing a using directive or an assembly reference?)

For it, Could you help me to fix it?
Thanks for your time
Alejandro

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.