question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Renders extremely slow and at a small resolution.

See original GitHub issue

The 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:closed
  • Created 3 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
sam598commented, Dec 31, 2020

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.

0reactions
keijirocommented, Dec 31, 2020

Thanks for additional testing. WebCamTexture on macOS has several issues for some time. That workaround should be implemented in future updates too.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found