bouvet / bouvet/BouvetDevelopmentKit

CameraRecordingUtils: PictureCaptured Unity event is called before the image actually is captured

Open
#52 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C#
Stars
34
Forks
14
PR merge metrics
No merged PRs in 30d

Description

`m_PictureCaptured.Invoke()` is called `OnPhotoModeStarted`, but the image is not finished capturing before `onCapturedPhotoToDisk`.

```c#
....
// line 102
m_PictureCaptured.Invoke();
if (saveImage) SaveImage();
...
```

Contributor guide

Open the contributing guide

Research direction

Start in CameraRecordingUtils around line 102 and trace the ordering of m_PictureCaptured.Invoke(), SaveImage(), and onCapturedPhotoToDisk. Reproduce the Unity photo-capture flow, then verify that PictureCaptured is raised only after the image has finished capturing and is available on disk.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, unity
Domain
game-dev
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.