Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not play disabled Audio Source warnings in console #10

Open
Jacekpapapolski opened this issue Apr 11, 2019 · 2 comments
Open

Can not play disabled Audio Source warnings in console #10

Jacekpapapolski opened this issue Apr 11, 2019 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@Jacekpapapolski
Copy link

As you play through Trash Dash at several stages you'll get this warning in the console:

"Can not play a disabled audio source
UnityEngine.EventSystems.EventSystem.Update()"

It happens on the following gameobjects:

  • MissionPopup > MissionBackground > CloseButton
  • GameOver > MissionPopup > CloseButton
  • GameOver > Loadout
  • Leaderboard > Button (the close button again)
@Jacekpapapolski Jacekpapapolski added the bug Something isn't working label Apr 11, 2019
@UnityGuillaume
Copy link
Collaborator

@Jacekpapapolski bug have always been there, it's because the closing button disable itself (since it close the thing) so it can't play the audio since the source is on itself.

That would require a rework of how audio work in the project, and not comfortable doing that big of a change right now, so I think we can push with it? though?

@Jacekpapapolski
Copy link
Author

Ok yeah I thought I remembered seeing this bug previously...

I think we can push with it - the sound works and nothing is interrupted, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants