Comments (9)
Which platform are you using?
from asynccapturetest.
Dear Keijiro,
i have tried it on 2 different PCs. One is Windows 10 Home (GTX 1080) and the other one is Windows 10 Pro (GTX 1160 Super).
Best
from asynccapturetest.
Thanks for clarification.
How about adding encoded.Dispose();
after this line?
from asynccapturetest.
Dear Keijiro,
it seems that "encoded.Dispose();" solves the issue, ill make additional tests. I have also realised that the energy management "turn off display after 10 min" can lead to other issues. Ill continue with tests and report here the results.
I would kindly ask you, how can i use your script to reduce the 1 Second waiting time to a minimum? Do i need to integrate something like "request done" into the callback?
Best and thank you!
from asynccapturetest.
how can i use your script to reduce the 1 Second waiting time to a minimum?
Just remove the yield return new WaitForSeconds(1);
line.
from asynccapturetest.
Dear Keijiro,
if i remove "yield return new WaitForSeconds(1);" i get this error:
ERROR:
InvalidOperationException: The Unity.Collections.NativeArray'1[System.Byte] can no longer be accessed, since its owner has been invalidated. You can simply Dispose() the container and create a new one.
I tried instead of "yield return new WaitForSeconds(1);" this "yield return new WaitForSeconds(0.07f);"
I get the Error if a roughly go below "yield return new WaitForSeconds(0.07f);" , for example "yield return new WaitForSeconds(0.05f);"
Do you know why this happens?
Best
from asynccapturetest.
Dear Keijiro,
i found now a solution by using this
AsyncGPUReadbackRequest request = AsyncGPUReadback.RequestIntoNativeArray(ref _buffer, _rt.flip, 0);
yield return new WaitUntil(() => {
Thank you very much for your time. I think everything works now well.
Later on i will test again what happens if the Monitor turns off after 10 minutes (Energy management) and will report it as soon as i have the results. Thank you so much for your time and have a great day!
Best
from asynccapturetest.
I fixed the memory leak in the latest commit.
from asynccapturetest.
I'm closing this issue now. Please reopen it for further problems.
from asynccapturetest.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from asynccapturetest.