Renders extremely slow and at a small resolution.
See original GitHub issueThe foreground image updates at around 1fps (editor FPS is about 10-20). Tested all 3 models and both architectures with same results. Manually setting the worker’s device to CPU, GPU or compute does not change performance.
Additionally the resolution of the foreground image appears extremely small. This could be because _webcam.width
and _webcam.height
always return a value of 16.
- Unity 2020.2.1f1
- Barracuda 1.12.1-preview
- Macbook Pro 16" 2019
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
7 Hidden Reasons on Why Does Rendering Take So Long
Longer rendering can make your projects ineffective and slow. ... One of the most popular reasons for long rendering is the low computer...
Read more >Rendering at small resolutions cause unexpected softness ...
I'm rendering a simple textured dodecahedron to a PNG of 192x192 pixels, with a transparent background. Depth of Field is turned off (unchecked) ......
Read more >Does lowering resolution speed up rendering?
Yes, there is extra time involved in scaling it down. But the amount of time should be negligible.
Read more >After Effects Extremely Slow, even with good computer
Hello. I have Adobe After Effects 2020 installed in a new PC (well, i have been using it for a year). I have...
Read more >My Rendering Renders are very Slow, isn't it possible to ...
Render in RGB, set background render to 10 seconds (default is 0.3 seconds), close other applications, optimize media, use fast external drive (SSD...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Found the issue. For some reason the webcam itself is only updating once every second (this is using the Macbook Pro’s built in facetime camera).
Manually requesting the resolution and framerate fixes the issue and it runs great.
_webcam = new WebCamTexture(1280, 720, 30);
Also having bodypix running in Unity through Barracuda is unbelievably amazing. Thank you for doing the hard part and getting it to work so well.
Thanks for additional testing. WebCamTexture on macOS has several issues for some time. That workaround should be implemented in future updates too.