-
-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unity 2020.2 - UnityException: GetRecorderInternal is not allowed to be called during serialization #33
Comments
I've also found this to be faulty in 2020.2 |
Just as a heads up, I tried porting this forward to work in Unity 2020.2: I also stumbled upon someone else who did the same thing. |
Have anyone found a solution for this? |
the fix mentioned by adamgryu seems to work. |
@adamgryu The project I'm on has this package added via the package manager, which (I believe) can only choose commits with tags to sync down. The most recent tag (2.0.0) is from a few days before this thread and does not have this fix, so I can't update (unless I remove the git from package manager and pull it down elsewhere, which is taking some steps backwards). Could you please push up a version with a tag on a commit with the fix? |
You should be able to define a specific commit sha in the packages lock
file without having to have it tagged. Can you try that?
…On Sun, 11 Apr 2021, 18:23 StarManta, ***@***.***> wrote:
@adamgryu <https://github.com/adamgryu> The project I'm on has this
package added via the package manager, which (I believe) can only choose
commits with tags to sync down. The most recent tag (2.0.0) is from a few
days before this thread and does not have this fix, so I can't update
(unless I remove the git from package manager and pull it down elsewhere,
which is taking some steps backwards). Could you please push up a version
with a tag on a commit with the fix?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#33 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACDZ73CJMBXOUTYTZKNJMN3TIHLH7ANCNFSM4WSQBELQ>
.
|
@CianNoonan I don't seem to be able to. When I add in the SHA to the URL:
I switch to Unity, it says "Resolving packages" for a second, and then changes the file back to what it was, and the GetRecorder error is still there. |
Where did you get |
@StarManta This works for me (specifying package dependencies the way you did doesn't): |
I don't need 2.0.0, that's the bugged one that I already have. a22 is the one adamgryu linked above, I'm confused what other commit you would think I would be trying in this thread other than "the fixed one"? @fleity I tried that syntax as well, with the exact same result: Unity reverts packages-lock to what it looked like before and the bug remains. |
Sorry you're having trouble with this. I don't plan to maintain my fork of kDecals (while I got my fork working, I introduced a serious performance issue by not culling during the kDecals pass - Unity kept crashing otherwise) so you might be better off just downloading a copy of the repo instead of using the package manager. |
I see this exception when loading the project in Unity 2020.2.
The decals don't work unless I move
m_RenderPass = new DecalRenderPass()
into Create().Perhaps unrelated, but after doing that, attempting to open the FrameDebugger crashes Unity.
The text was updated successfully, but these errors were encountered: