#ExclusiveEntityTransaction breaks hierarchy window
1 messages · Page 1 of 1 (latest)
@rich geyser ^
That's good to know. Thanks for the ping @uneven fox. I'll take a look ASAP.
@alpine ridge I'm filing a bug on your behalf, can you give me some basic information, like Entities package version, Unity editor version, and the most basic steps I can take to repro, as close as your setup as possible?
Sure, Unity 2022.2.16f1, Entities 1.0.0-pre.65, I've attached a script that you can add to an empty project to easily reproduce the issue, just run the game and try to open the "Transaction World"
Great, thank you!
@rich geyser Is there a place to track this issue? Or maybe it's already been fixed internally?
It's being tracked internally and, while there might be a way of making it available to the public, I have no idea how. It's not been fixed yet: lots of fires to put out at the moment, but it is still on my radar.
@uneven fox @rich geyser Has this been fixed in 1.0.14 by any chance?
There is a fix in review as we speak. It's not a trivial fix however and some trade-offs are necessary. The current implementation of the fix forces the long-running jobs to complete to allow the tools to run. It's the only way to guarantee that the tools are not frozen forever. The other approach is to block tools while long running jobs are running. We're weighing both options, leaning on the former at the moment.
Ok thanks for the update, regarding IN-45140 IN-40943 IN-39544 have they been fixed by any chance?
I think IN-39544 has been marked as in progress for a while so it may have been fixed in 1.0.14
The other bugs are not in my pile, even though they are somewhat related. I'll let @uneven fox comment on those.
45140 i asked about, 40943 is in progress
39544 is also in progress
i bet probably none of them are fixed in .14
Ok thanks for keeping me posted, hopefully they'll make it into the next release
This won't cause all long running jobs to complete right? Just ones tracked by EM (or using exclusive?)
i haven't seen the fix but i would think it would be possible to wait only on the ones to do with the world (and therefore the EET) in question
They'll fix it by adding a CompleteAllJobs at the end of SimulationSystemGroup 😛
so that's actually less crazy than it sounds, potentially, because when an EET is active and in a job, that job is the only person allowed to talk to the world in question period
so waiting on the EET job should be more or less identical to waiting on all jobs for the world, i would think. but eet's are tricky, sometimes i get confused
(all the "all jobs" functions should really be "for this world" because i don't think anything can complete all jobs for all worlds without explicitly iterating through world.all)
well that's what i was asking, EM.CompleteAllTrackedJobs only completes tracked jobs not all jobs
yeah we don't even expose a way to do that from c++
if i have a long running job outside the ownership of the EM it doesn't really need completing, hence was just checking
Yeah I was joking that they would add CompleteAllTrackedJobs regardless of if an EET is running or not
I'm very fun at parties lol
If I did I wouldn't have reported this 👀
please don't even joke
, i've just spent like 2 months ensuring my jobs can run into the next frame - so much unused space in presentation/initialization!
in this particular case it is kind of asking to sync on this one thing though
yeah presentation and initialization are bummers
to be fair as Sebastien mentioned it can also be fixed by waiting for the eet to complete 👀
By blocking the tools I mean
So, the solution at the moment is to end (ie complete) the active EET. Which should not affect any non tracked jobs. The only reason we're worried about waiting for an opening is that it's easy to imagine a situation where you lock yourself out of any tooling forever. We can message you about it, I guess, but that's equivalent to closing the tool. In which case, you can also close the tool if it interferes with your specific long-running job in an unacceptable manner. That's the current thinking anyway. We'll try a few more scenarios.
@uneven fox did you get an update on 45140 ?
nope. logging people are probably some combination of laid off and on vacation
now they say pr ready by end of week hopefully, and then it needs backporting, and then a patch release. so a while
(netcode people stepping in to help with logging, thankfully)
So, the editor fix has landed in master and is waiting approval on backports. We went the route of completing EETs at the tooling level.
Ok thanks for keeping me posted ❤️
@rich geyser @uneven fox Did the fix make it into 1.0.16?
@uneven fox 👀
(got this confused with another bug) i'll try bugging people again today
thank you ❤️
I also reported a new logging regression in general @uneven fox
yeah it's all messed up
Did the logging team get laid off? 
yeah, and it's i think picked up by somebody technically, but i'm sure they have less time for it than the actual logging team did
attempting to read jira tea leaves, it seems like it was only fixed in 1.1 experimental
Ok thank you ❤️
I just tried 1.1 but seems like a similar issue is present, it's still UI related (though the callstack is a little bit different) Should I report this as a new bug?
yeah might as well. things kind of chaotic internally at the moment due to some code churn
@uneven fox Reported as IN-55834 
@uneven fox Also for some reason I don't have access to the report, maybe I got banned after reporting too many bugs 😆
But as long as you guys can see it I guess it's fine
that's probably just a jira bug
which happens a lot
we always get that for like 10 minutes after a bug is reported, for example
It's already been an hour though 🤔
Well can you confirm that you do see the report?