Code Monkey home page Code Monkey logo

Comments (10)

JonathanHUnity avatar JonathanHUnity commented on June 14, 2024 1

from com.unity.perception.

JonathanHUnity avatar JonathanHUnity commented on June 14, 2024 1

from com.unity.perception.

JonathanHUnity avatar JonathanHUnity commented on June 14, 2024 1

from com.unity.perception.

JonathanHUnity avatar JonathanHUnity commented on June 14, 2024

We have identified an issue that can cause labels to be incorrect and are currently working on a fix. This problem occurs when all of the labeled GameObjects are destroyed and recreated each frame. One workaround for this is to cache your set of objects instead of destroying and recreating them. An example object caching utility can be found here:

https://github.com/Unity-Technologies/com.unity.perception/blob/master/com.unity.perception/Runtime/Randomization/Randomizers/RandomizerExamples/Utilities/GameObjectOneWayCache.cs

from com.unity.perception.

lessw2020 avatar lessw2020 commented on June 14, 2024

Thanks for the info @JonathanHUnity.
That makes sense as I was previously keeping the items instantiated manually in the scene, but that created ghost labels...so moved to not having anything pre-instantiated when this showed up.
I'll try and setup with caching so I can keep going and good luck with the fix work.

from com.unity.perception.

lessw2020 avatar lessw2020 commented on June 14, 2024

I'm attempting to workaround this issue with my own cache handling...however, hitting an issue about a renderer not being attached. I'm know in URP you have to assign the forward renderer, but I'm in HDP and not sure what/how I should assign a renderer in code.
Any insight would be appreciated - I'll start reviewing the codebase to see if I can find a fix, but wanted to post here in case that is faster and/or other people hit the same thing:
missing_renderer

from com.unity.perception.

lessw2020 avatar lessw2020 commented on June 14, 2024

Thanks much @JonathanHUnity!

from com.unity.perception.

lessw2020 avatar lessw2020 commented on June 14, 2024

Possibly related - I now receive this error on the camera:
deferred_shader_error

I then attempted to modify the shader mode of the camera to forward, but am unable to do so (I have no ability to access the dropdown):
camera_no_choice

In theory, per the manual, that seems it is the way to change it:
manual_lit_shader_selection

Could I get any advise on how to switch to forward mode? I am using transparent, invisible geometry for my labelling (with HDR/Lit shader).
I've been flipping around the menus and interfaces trying to fix this to no avail.
Thanks in advance!

from com.unity.perception.

lessw2020 avatar lessw2020 commented on June 14, 2024

Thanks a ton @JonathanHUnity! I found it, as you said, in the settings folder.
That also finally got rid of the error, which I had spent a lot of time on today since I didn't realize there was this settings asset to begin with.
I realize the tutorial focuses on URP, but it might be worth adding a blurb on this for HDRP? I didn't even realize there was this concept of a 'settings asset' nor where it lived, so the only asset I thought it meant was the camera settings and hence all the time spent this morning flipping around trying to active the inactive custom frame settings.
Thanks again, really appreciate your help esp on a Saturday!

from com.unity.perception.

JonathanHUnity avatar JonathanHUnity commented on June 14, 2024

This bug was been resolved in Release-0.8.0-preview.2 . Thank you for the report!

from com.unity.perception.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.