Closed dnlbschff closed 3 years ago
Hello, this should be some kind of UPM cache issue. This bug has been fixed in 0.8.2. In fact, OutlineFeature doesn't contain the code mentioned above any more. Please try to clear Unity package cache and/or reinstall the outline package.
Indeed, you were absolutely right. I probably messed with things by having the file open in Rider when updating packages.
I am getting warnings in the editor when not in play mode every frame (as long as I move the camera).
This is caused by line 66 in
OutlineFeature.cs
:I assume it has to do with this https://forum.unity.com/threads/rendererfeatures-not-getting-camera-target-source-in-urp-10.973566/ Now I've seen you found this link already in connection with #21 but 0.8.2 does not seem to fix this. The fix seems to be intuitive, instead of passing the two targets separately to the
OutlinePass.Setup
, pass only the reference to the renderer instead. Then access the targets through the renderer in theExecute
method.Let me know if I am mistaken and this problem is on my end. Anyways thanks for this awesome piece of software. Cheers