AI Playground Issue with Parallel Snap3D Generations

Open
#8 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
typescript

Research direction

Start with the AI Playground flow and the Snap3DInteractable prefab, reproducing the parallel-generation case from Gemini and the Snap3D Example pane. Check that each unfinished generation keeps its own preview and that the spatial experience reflects the processing state; done means multiple 3D objects can generate concurrently without shared thumbnails.

Written by the indexing model from the issue text.

Description

AI Playground doesn't currently support multiple parallel generations. There is instead a logged error message:

"Already processing a request. Please wait."

However, that message isn't surfaced in the spatial experience.

It appears the primary reason this wasn't supported is because the Snap3DInteractable prefab was sharing a material. This caused the preview thumbnail of one instance to replicate across all instances that hadn't finished 3D generation. I was able to accidentally trigger this by generating from Gemini and the Snap3D Example pane at the same time.

I have corrected this behavior and added the ability to generate multiple 3D objects in parallel. I will submit a PR and link it to this issue.

Dominant language
TypeScript
Stars
192
Forks
73
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Snapchat/Spectacles-Sample

All issues in Snapchat/Spectacles-Sample

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.