Client (production/canary) and FXServer version
Canary, Server build: 4162
What you expected to happen
A screenshot to be taken of the players in game screen
What actually happens
Instead of a screenshot, it uploads a black image
Category of bug (eg. client, server, weapons, peds, native)
Reproducible steps, preferably with example script(s)
Fresh copy of the resource screenshot-basic
- Step #1 Join the server
- Step #2 Call the function “requestScreenshotUpload”
- Step #3 Change the “Screen Type” (Fullscreen, Fullscreen Exclusive, Windowed)
- Step #4 Call the function “requestScreenshotUpload” again
Both steps 2 and 4 return valid url’s. However, you may notice that step #4 screenshot is just a black screen.
I found out that ensuring the resource “screenshot-basic” fixes the problem temporarily, until the player changes their “Screen Type” again.
NOTE: The server function “requestClientScreenshot” and client function “requestScreenshot” does NOT have the same issue. After changing the “Screen Type” the image it returns isn’t a black screen