Skip to content

Scheduling Conflicts when Domain Reload is disabled. #3

@psuong

Description

@psuong
InvalidOperationException: The previously scheduled job BuildWindowMeshJob writes to the Unity.Collections.NativeList1[InitialPrefabs.NimGui.Render.ImVertex] BuildWindowMeshJob.Vertices. You must call JobHandle.Complete() on the job BuildWindowMeshJob, before you can write to the Unity.Collections.NativeList1[InitialPrefabs.NimGui.Render.ImVertex] safely.

Version info: 2020.3.32 LTS

I'll need to inspect this since this is pretty hard to reproduce. I'm pretty sure the dependency chain is not set up properly and I might have to introduce an API so that a dev can pass dependencies to the ImGuiRunner.

When Domain Reload is disabled, static fields are not cleared. This likely includes the PlayerLoop, which may mean that I need to properly cleanup the player loop when exiting play mode.

TODO

  • Test fix on 2020.3.3x
    • Windows
    • Mac
  • Text fix on 2021.3.4 LTS
    • Windows
    • Mac
  • Update documentation/faq
  • Publish changes to Asset Store
  • Publish changes to Itch
  • Update demo with latest build

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions