bouvet / bouvet/BouvetDevelopmentKit
CameraRecordingUtils: PictureCaptured Unity event is called before the image actually is captured
Open
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
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