Skip to content
This repository has been archived by the owner on Jan 18, 2022. It is now read-only.

GDK for Unity Alpha Release 0.3.7

Compare
Choose a tag to compare
@gdk-for-unity-bot gdk-for-unity-bot released this 22 Jun 12:47
· 72 commits to master since this release
46be8d8

In this release, we've added a new "Worker Inspector" Editor window which displays information such as worker flags, worker ID and worker type. It also shows the entities each worker has checked out as well as the components on said entities.

In addition, the window shows each component's data, with the exception of map<k, v> fields, and whether the worker is authoritative over it.

👈 Click here to see a quick demo of the Worker Inspector in action!

worker_inspector_in_action

We've also fixed a memory corruption that occurs in SpatialOS components with more than 16 fields.

Keep giving us your feedback and/or suggestions! Check out our Discord, our forums, or here in the Github issues!

See the full release notes below! 👇


Added

  • Added a "C# Editor Output Directory" field to the GDK Tools Configuration. #1376
    • This specifies where Editor-only code is generated to.
    • This defaults to Assets/Generated/Editor.
  • EntityId now implements IComparable<EntityId>. #1375
  • The ComponentDatabase now exposes a non-generic GetComponentId(Type type) static method. #1379
  • Added a new "Worker Inspector" Editor window. #1375 #1379 #1382
    • This window displays worker information like: worker flags, worker ID, and worker type.
    • This window also displays the entities that a worker has checked out.
    • For each entity checked out, you can view the components on that entity and whether the worker is authoritative over that component.
    • Each component can have an icon associated with it, set through a schema annotation. #1385
    • Each component's data will also be rendered in the Worker Inspector, with the exception of map<k, v> fields. (This will come in a future release!) #1387 #1391 #1392 #1396 #1401
  • Added two ways to instantiate valid EntitySnapshot objects. #1401
    • EntitySnapshot.Empty() to create an empty EntitySnapshot
    • new EntitySnapshot(params ISpatialComponentSnapshot[] components) to create and seed the EntitySnapshot with some data.

Fixed

  • Fixed memory corruption in SpatialOS components with more than 16 fields. #1378

Internal

  • Added tests in code generator for name clashes. #1380
    • The test-project no longer contains illegal schema.