Comments (3)
Thanks for reporting this. We do not support alpha versions of Unity (we support up until Unity 2019.1.11 right now), but we will correct the script so this error doesn't occur in future versions.
For now you can edit the script UnityAudioCapture.cs and changing the follow.
line 59 from:
if (AudioSettings.speakerMode != AudioSpeakerMode.Raw &&
AudioSettings.speakerMode < AudioSettings.driverCapabilities)
to:
if (
#if !UNITY_2019_2_OR_HIGHER
AudioSettings.speakerMode != AudioSpeakerMode.Raw &&
#endif
AudioSettings.speakerMode < AudioSettings.driverCapabilities)`
line 159 from:
case AudioSpeakerMode.Raw:
break;
to:
#if !UNITY_2019_2_OR_HIGHER
case AudioSpeakerMode.Raw:
break;
#endif
Thanks,
from unityplugin-avpromoviecapture.
We just purchased the asset and bumped into this with 2019.2, is there a plan to push a fix to the Unity Asset Store?
from unityplugin-avpromoviecapture.
@AndrewRH Ah, I see you did make the change, however, I think your fix has a bug in it. I think you used the wrong macro.
You're using "UNITY_2019_2_OR_HIGHER" and the actual macro is "UNITY_2019_2_OR_NEWER"
It's documented by Unity here.
Changing your macro conditions fixed the compilation error for me. It'd be great to see this fix get submitted soon.
from unityplugin-avpromoviecapture.
Related Issues (20)
- [Bug] Typo "RelativeToPeristentData" in Enum CaptureBase.OutputPath HOT 2
- [Bug] Crash occurs when stop capture on Samsung Galaxy Tab A9+ HOT 21
- [Bug] Timestamp issues when capturing video from camera HOT 2
- [Enhancement] Offline render with audio
- [Bug] Captures failing with "Application Entry Point" set to "GameActivity" HOT 1
- [Enhancement] Add error explanation when StartCapture returns false HOT 2
- [Bug] Transparent PNG Recording crashes on 5.2.1+ HOT 2
- [Bug] Built a Windows 32bit target with IL2CPP and it crashes on CaptureBase.Awake() HOT 2
- [Bug] Xcode 15 Crash HOT 4
- [Question] Using AVPro Video Player and AVPro Movie Capture in one scene (on iOS) HOT 3
- [Bug] Screen capture on Windows producing very dark video HOT 3
- [Bug] iOS Front Camera Issue: 180-Degree Rotation or Horizontal Mirroring When FlipVertically is Enabled. HOT 2
- Movie Capture with microphone sound only HOT 2
- [Question] Any plans on adding WebGL support? HOT 3
- [Question] Vulkan in Windows HOT 2
- [Question] How do I Save files with custom naming and fix "can't find moov or mdat chunks" HOT 1
- [Bug] Cancelled captures aren't removed from the Windows folder HOT 1
- [Bug] Microphone doesn't provide Audio when the next click on "Start Video Recording" button happens too fast after stopping recording. HOT 1
- [Bug] Freeze on Starting Screen Capture
- [Enhancement] Add Event when I could subscribe to in order to catch (1) Disk Limit or (2) Errors — which may occur during recording
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unityplugin-avpromoviecapture.