- Home /
ECS System OnUpdate not being called on Unity 2020.1b7 + UniRx
I am not able to get DOTS working on Unity 2020.1.b7 after I've updated my project. But another test projects are working. What can be wrong? I tried to reimport it a couple of times. Tried to use the same packages manifest files from projects that work this doesn't help. OnUpdate() just not called for all systems. Also for ConvertToEntity component too so conversions not working. Both for sub-scenes and for single components.
Also, there are no compile errors or runtime errors.
Does anyone has this problems?
Answer by starabanaf · May 02, 2020 at 03:48 PM
So I was able to fix this issue. It was related to UniRx plugin v.5.5.0. Deleting this plugin makes ECS system working. Updating to the latest UniRx 7.1.0 also fixes this issue. But this anyway looks like a bug because plugins should not affect Unity. And this may happen with any code. Could be some bug in legacy code upgrading logic that was not able to upgrade some code from UniRx plugin. I will submit a bug report.
Wow I'm really grateful for your post. I am new to DOTS and was porting over my game which was written using Unidux/UniRx over to DOTS and was going crazy trying to figure out why conversions were not happening, or in some cases happening sporadically!
Your answer
Follow this Question
Related Questions
Label dots in between numbers (currency formatting) 2 Answers
How to determine which side of an object the player collided with? 2 Answers
Acessing static variable from Entities.ForEach 1 Answer
DOTS Grid-based generation question. 1 Answer
Accessing Time.DeltaTime inside scheduled Unity Job 2 Answers