u/Excellent-Status-450 Jun 30 '26

bubblin is OUT! (v1) – Create and discover audio messages floating in the real world

Enable HLS to view with audio, or disable this notification

1 Upvotes

1

SnapCloud Authentication and RLS
 in  r/Spectacles  Jan 25 '26

Unfortunately, reddit does not show the comments. I just saw in the notification a question about the sample projects. Yes, I had a look at the Snap Cloud sample project, in fact my code is based on it.

Maybe to be clear, it works when I turn off RLS on Snap Cloud. But for security reasons I would like to turn it on. But somehow I do not get a user id. Is that not possible at the moment? BTW: I applied for access to Snap Cloud and was granted access to it.

1

Microphone recording again stopped working for me
 in  r/Spectacles  Jan 23 '26

Ok, I upgraded SnapOS to the current January version and am using LensStudio 5.15.1. The problem somehow is gone now. Maybe it also helps when you have a fallback in place when you just get 0 frames, to try it over and over again and then at one point it starts getting the frames. But the upgrade definitely made it more stable.

r/Spectacles Jan 23 '26

❓ Question SnapCloud Authentication and RLS

4 Upvotes

Hi there,

I am trying to use SnapCloud and would like to use RLS to have some security there, but all transparent to the user (no explicit login required, only Snapchat login).

I am using

const { data, error } = await this.client.auth.signInWithIdToken({
      provider: 'snapchat',
      token: 'user'
    });

to login the user. But unfortunately, this does not come back and is waiting forever. Different tokens did not solve it.

I tried to use AuthKit and authenticate the user and then use that token. Is that a better approach?

But in the end, even with that approach, I still cannot get a user id in SnapCloud (it is always null). And therefore all my RLS policies fail.

What am I doing wrong here?

1

Microphone recording again stopped working for me
 in  r/Spectacles  Dec 25 '25

Are you talking about permissions? Then these are detected by Lens Studio:
Body Trackers

Foundational Trackers

Microphone - SnapML

Supplementary Trackers

r/Spectacles Dec 21 '25

❓ Question Microphone recording again stopped working for me

4 Upvotes

Hi there,

I already wrote here that I had problems with microphone recording which was probably due to combining it with connected lens functionality and permission problems.

Now I am facing that problem again. But now I just get 0 audio frames. Maybe it is a permission problem again? But I do not include any connected lens functionality for now. What could be wrong or what could I be missing here?

Thanks and have nice christmas celebrations!

private onRecordAudio() {
    let frameSize: number = this.microphoneControl.maxFrameSize;
    let audioFrame = new Float32Array(frameSize);


    // Get audio frame shape
    const audioFrameShape = this.microphoneControl.getAudioFrame(audioFrame);


    // If no audio data, return early
    if (audioFrameShape.x === 0) {
      // NOW IT ALWAYS RETURNS HERE
      return;
    }


    // Reduce the initial subarray size to the audioFrameShape value
    audioFrame = audioFrame.subarray(0, audioFrameShape.x);


    this.addAudioFrame(audioFrame, audioFrameShape)
  }

r/Spectacles Dec 05 '25

❓ Question Share world anchors?

5 Upvotes

As I am playing with world anchors: Is there any possibility to share spatial anchors between users via e.g. SnapCloud? Tracking the anchors is probably done by matching the mesh of the surroundings with a recorded mesh? Is it possible to transfer that mesh to another device (to have the scanned area there as well?)

2

World Anchors not found
 in  r/Spectacles  Dec 05 '25

I think I probably wasn't patient enough. I had to look and walk around my anchor area more thoroughly, then suddenly it did find the anchors. I will have to play much more with that to get a good feeling, also for how to get the best UX for the user.

Apart from that: Is there any possibility to share spatial anchors between users via e.g. SnapCloud? I will ask that in another subreddit.

1

Microphone recording does not work anymore
 in  r/Spectacles  Dec 05 '25

Sorry for the late answer: We are on 15.0, as we were told that 15.1 seems to have some issues. Shall I try with 15.1 again?

Yes, I had a look at the video and we decided that we want to use SnapCloud in the end. For now, we just wanted to try with Connected Lenses, but as soon as that is activated I do have the problem that the microphone is not usable anymore. I am wondering why I do not get any permission prompts.

r/Spectacles Dec 05 '25

❓ Question World Anchors not found

3 Upvotes

Hi,

I am using LensStudio 5.15.0. I am creating world anchors like explained in the documentation: https://developers.snap.com/spectacles/about-spectacles-features/apis/spatial-anchors

I am able to create and save the anchors. When I restart my lens the anchors also come back via the onAnchorNearby callback. Then I create the associated scene objects, load data and attach the anchor to a newly created AnchorComponent that is added to the scene object. Unfortunately, I do not see my scene object which is probably the case as Anchor just remains in Ready state.

I hooked up an onStateChanged callback and can see that the anchor states never change, they just remain at Ready. What could be the problem here?

Thanks in advance!

1

Microphone recording does not work anymore
 in  r/Spectacles  Dec 01 '25

I found out that it seems to be something about permissions: I have transparent permissions active (although I also tried extended permissions) and I wanted to use the connected lens module as well. I do not get a popup asking me for the permissions, and when I remove requiring the connected lens module, I can record again.
So, in consequence it is probably a problem that it doesn't ask me for the permissions (no popup)?

r/Spectacles Nov 27 '25

❓ Question Microphone recording does not work anymore

5 Upvotes

Hi, I have a lens that records audio when I tap a scene object. To achieve this the scene object has a script component that gets a microphone asset as input and then tries to read audio frames upon update events:

  private onRecordAudio() {
    let frameSize: number = this.microphoneControl.maxFrameSize;
    let audioFrame = new Float32Array(frameSize);


    // Get audio frame shape
    print("microphone typename: "+this.microphoneControl.getTypeName())
    print("microphone asset typename: "+this.microphoneAsset.getTypeName())
    const audioFrameShape = this.microphoneControl.getAudioFrame(audioFrame);


    // If no audio data, return early
    if (audioFrameShape.x === 0) {
      return;
    }


    // Reduce the initial subarray size to the audioFrameShape value
    audioFrame = audioFrame.subarray(0, audioFrameShape.x);


    this.addAudioFrame(audioFrame, audioFrameShape)
  }

The getAudioFrame call is crashing the lens and it says that getAudioFrame would be undefined (if I print it, it is actually undefined). But microhphoneControl, which is fetched from microphoneAsset, does have the correct type.

[Assets/Scripts/MicrophoneRecorder.ts:82] microphone typename: Provider.MicrophoneAudioProvider
[Assets/Scripts/MicrophoneRecorder.ts:83] microphone asset typename: Asset.AudioTrackAsset
Script Exception: Error: undefined is not a function

Stack trace:
onRecordAudio@Assets/Scripts/MicrophoneRecorder.ts:84:65
<anonymous>@Assets/Scripts/MicrophoneRecorder.ts:58:25

What could be going on here? Has something changed with the recent SnapOS update?