-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sample Project and plugins seems to crash when attempting render in UE 5.0.3 and 5.1.0 #23
Comments
+1 Same here. It compiles nicely but trying to place a CaptureManager or inherit from it crashes my editor. Here's a proper stacktrace with debug symbols enabled:
EDIT: Getting this error during runtime now when trying to call CaptureNonBlocking |
Hey, I just clone the repo as is and updated my engine to UE 5.1.0. However, I cannot reproduce your crashes... I was able to get grab images in all data-types. @agaertner Do you happen to make the call automatically, immediately in the very first tick of your game? Because I see the Tick() call in the trace... I once had that issue - for some reason you need to wait for some frames before the components are all ready. @voxlz Can you check line 185 (where the color capture crashes) for me? Because strangely that is where Gamma is set and not an image grabbing section- maybe the SceneCapture is not connected correctly? :/ |
This is the line its referencing at the top:
|
Okay, I can think of two things of the top of my head:
I hope this does something for you 👍 |
It actually spawns the manager on startup and spawns the scenecapture on keyboard press. I will try adding other checks then. |
The issue was that the SceneCapture2D had no TextureTarget by default. I fixed that Now I have another crash further down with the following stacktrace (fixed, see below):
FIXED Now it works perfectly. I will have to change the save directory to point to some other partition because Hopefully this little documentation will help some people with above problem. |
Ah, nice! |
I might create a fork someday and do some PRs if I can get to it (pretty busy right now). Though, what I can say is a feature that I needed was access to the TArray from within a BP (ie. access to the current frame) to use it with another plugin of mine that takes that byte array as param. I did that by simply creating a |
As the title claims, I cannot get a image capture to compleate without crashing unreal. I've tried compilin the sample project in both UE 5.0.3 and 5.1.0, and also tried installing it as a plugin in a fresh project. Same result.
I'm triggering the capture in a utility widget like so.
Error message always throws at line 185 in
"C:\Users\*****\Documents\Unreal Projects\ImageCapture\Plugins\CameraCaptureToDisk\Source\CameraCaptureToDisk\Private\CameraCaptureManager.cpp".
Attempting to run a float-non-blocking results in similar crash at line 250.Error:
The text was updated successfully, but these errors were encountered: