Skip to content
This repository has been archived by the owner on Apr 27, 2024. It is now read-only.

Holograms-212-Voice Chapter 2 SoundMeter #9

Open
derekfreed opened this issue Aug 16, 2016 · 4 comments
Open

Holograms-212-Voice Chapter 2 SoundMeter #9

derekfreed opened this issue Aug 16, 2016 · 4 comments

Comments

@derekfreed
Copy link
Member

While following the Holograms 212 voice tutorial, I ran into an issue after deploying Chapter 2. I am using Unity 5.4.0f3. When testing the app, I can open the communicator but when I airtap to record my voice, the application freezes and points to the line: SoundMeter.gameObject.SetActive(enabled); within the SetUI function as the problem. The only way I was able to get the project to work functionally was to comment that line out. Note that I followed the instructions on Holographic Academy precisely and the only changes that were made to the project up to this point, were the deletion of the two lines of code in Chapter 2.

@keveleigh
Copy link
Contributor

The only time I've seen this happen is while building as Debug. We recommend building your app as Release for performance. Can you verify that you're building as Release, and, if not, can you try it and see if your issue is fixed please? Thanks!

@derekfreed
Copy link
Member Author

I was actually building as Debug before. I just tried cleaning the solution and rebuilding as Release but I keep getting an error: Unable to activate Windows Store app 'ModelExplorer_s9y1p3hwd5qda!App'. This is probably something completely unrelated to the previous issue though, so I'll keep working at it and report back if I get it working with Release.

@derekfreed
Copy link
Member Author

I just got it working with building it as Release! Do you know the reason this issue comes up when building as Debug but not Release?

@keveleigh
Copy link
Contributor

Awesome! Unfortunately, I don't know the reason at the moment. This isn't the first time we've seen this though, and it's a consistent repro. I think it has something to do with the code we use to load the sound meter's animated texture. I'll definitely look more into this and see if I can figure it out!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants