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

Sound is reduced in Unity 2019.1 #85

Closed
LincRead opened this issue Apr 23, 2019 · 12 comments · Fixed by #86
Closed

Sound is reduced in Unity 2019.1 #85

LincRead opened this issue Apr 23, 2019 · 12 comments · Fixed by #86
Assignees
Labels
Milestone

Comments

@LincRead
Copy link

LincRead commented Apr 23, 2019

Describe the issue

We've been using Vimeo Unity SDK without problems thus far, but the sound output has suddenly changed to be very low for all our videos, without us making any changes in the Unity scene or with the videos. Although, we did recently upgrade to Unity 2019.1, but I'm not sure if it's related or not.

The sound from the Vimeo video is playing and is synced, but I have to put my speakers to very high sound levels to hear it properly. All other sounds and music files in the project sound like in previous versions. We only have this issue with our Vimeo videos.

Audio Source is set to volume = 1, Stereo Pan = 0, Spatial Blend = 0.

Any ideas why this happens?

Steps to reproduce the problem

Add Vimeo Player Canvas to any scene and play any video.

Unity version

Unity 2019.1

Operating system

Windows 10

@juniorxsound juniorxsound self-assigned this Apr 24, 2019
@neerajjaiswal
Copy link

I am a pro user of Vimeo and this happened just before the launch of my unity app. It is not working on ios and android as well. The whole launch is now stuck up :(

@juniorxsound
Copy link
Contributor

Hi @LincRead @neeraj-jaiswal Thanks for the details. just to confirm, this is happening only on Unity 2019 on Windows with the built-in Unity video player? having a hard time-replicating this issue on my macOS / Unity 2019.1.0f1 setup.

Also, when in PlayMode in the editor, can you look at the child Screen GameObject and inspect if the volume is 1 when it plays
Screen Shot 2019-05-02 at 10 11 23 AM

@neerajjaiswal
Copy link

It was working well with Unity 2018.3, but as upgraded to 2019 version yesterday, the video is playing but without audio. I am able to replicate it on Mac Editor, Android and iOS builds.

@juniorxsound
Copy link
Contributor

@neeraj-jaiswal Can you peek into the Screen GameObject during Play and see what the volume value is? (as shown in the image above). Would be helpful to know exactly which versions of Unity you used

@neerajjaiswal
Copy link

unity2018
unity2019

I have pasted the screenshot of screen for both 2018 and 2019 version of Unity

@juniorxsound
Copy link
Contributor

juniorxsound commented May 2, 2019

Thanks @neeraj-jaiswal I'll definitely continue investigating this, in the meantime I would probably stick to the 2018 versions that work for you.

@neerajjaiswal
Copy link

Thanks @juniorxsound , I am going back to 2018 for now. Will wait for the fix, I just hope I will not need to upgrade to 2019 for any features. Keeping fingers crossed :)

@juniorxsound juniorxsound added this to the 0.9.5 milestone May 2, 2019
juniorxsound added a commit that referenced this issue May 2, 2019
… to avoid making a 2D RectTransform AudioSource (#85)
@juniorxsound
Copy link
Contributor

Hi @LincRead @neeraj-jaiswal patching the issue, it seems Unity doesn't support AudioSource to be placed on a RectTransform anymore, which is why the CanvasPlayer was the only problematic example. The patch lives in this branch. The fix will go into the 0.9.5 Milestone

In the meantime here is a pre-release unitypackage - would love to hear back from you if this solves the issue on your end.

@juniorxsound juniorxsound mentioned this issue May 2, 2019
5 tasks
@LincRead
Copy link
Author

LincRead commented May 2, 2019

Thanks a lot @juniorxsound; the pre-release unitypackage for 0.9.5 solved the sound problem for us.

@juniorxsound
Copy link
Contributor

Happy to hear it solved the problem, and thank you for the details @LincRead (cc @neeraj-jaiswal), will run some tests to see everything else is ok and create a new release 🎉

juniorxsound added a commit that referenced this issue May 3, 2019
* Updating the Canvas Player example scene to fix Unity 2019 Audio Source on RectTransform bug 🐛

* Removing PS2 as a build target as it is no longer supported in Unity 2019 (#82)

* Making the CanvasPlayer menu item create an AudioSource on the camera to avoid making a 2D RectTransform AudioSource (#85)

* Fixing adaptive URL unit testing so it takes the test platform into account (#87)

If it is an Apple platform expect HLS manifest, else expect a DASH manifest
@juniorxsound
Copy link
Contributor

This is resolved in 0.9.5 official release

@neerajjaiswal
Copy link

Sorry @juniorxsound , got stuck up with the Apple submission. They raised some non-technical issue :) I tested the 0.9.5 package today and the changes worked. Thanks for doing it in such a short time frame. Really appreciate it.

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

Successfully merging a pull request may close this issue.

3 participants