Always, the spin error only if I enable Process Clip Audio
CsoundUnity Package (UPM) development
Is the spout error always present, regardless of Process Clip or not?
Yes crashes in all cases, if no Process Clip Audio crash is caused by the spout buffer, if I enable Process Clip Audio crash is caused by the spin buffer (called before)
Do you happen to know what version of Csound those Android libs use?
Crashes also on an Android phone
But the Android stuff used to work some time back right? So we obviously added something to break it?
I donât know which version it is.
Yes it was working but before the whole rewrite!
Never built for android in the last two months.
We added the spin and spout stuff
But after all that spin/out stuff, we figured out how to do it with the GetInputSample()
and GetOuputSample()
? Are these methods the only one causing problems? If you comment them out and do:
samples[i + channel] = 0f;
does it crash on some other API calls? Also, could it be an indexing issue? I donât see how, but I also would try:
samples[i + channel] = (float)GetOutputSample(0, 0) / zerdbfs;
Let me try!
No crash if I comment them out:
if (processClipAudio)
{
//SetInputSample((int)ksmpsIndex, (int)channel, samples[i + channel] * zerdbfs);
}
samples[i + channel] = 0;// (float)GetOutputSample((int)ksmpsIndex, (int)outputSampleChannel) / zerdbfs;
GetOutputSample calls this:
public MYFLT GetSpoutSample(int frame, int channel)
{
return Csound6.NativeMethods.csoundGetSpoutSample(csound, frame, channel);
}
I have a feeling that csoundGetSpoutSample() was added recently enough, Iâm wondering if the Android libraries are up to dateâŚ
Where can I get the last version?
Whether we can just replace the current ones with these is anyoneâs guess. But there is only one way to find out
Cannot find libcsoundandroidâŚ
No the linker cannot find them!
These were the old Hector libraries (finds libcsoundandroid)
These are the newest ones:
Also tried to put them out of the architecture folder (Arm64 will be the default in the near future)
TBH, Iâve not used the Android libs in a long time. I will reach out to the devs and ask what the story isâŚ
p.s. is the libnative library a Unity library?
p.s. it might be worth going back through the Csound releases to see if there is a version that the compiler recognises�
I left the libnative.so there and it builds, but I get the same crash:
Long crash log
2020/06/17 12:10:12.276 736 772 Info Unity AudioSettings.outputSampleRate: 24000
2020/06/17 12:10:12.276 736 772 Info Unity UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
2020/06/17 12:10:12.276 736 772 Info Unity UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
2020/06/17 12:10:12.276 736 772 Info Unity UnityEngine.Logger:Log(LogType, Object)
2020/06/17 12:10:12.276 736 772 Info Unity UnityEngine.Debug:Log(Object)
2020/06/17 12:10:12.276 736 772 Info Unity CsoundUnity:Awake() (at /Users/gb/Desktop/WORKS_&STUFF/CSOUND/GIT/CsoundUnityPackage/CsoundUnityPackage_DevelopmentProject/Packages/CsoundUnity/Runtime/CsoundUnity.cs:234)
2020/06/17 12:10:12.276 736 772 Info Unity
2020/06/17 12:10:12.276 736 772 Info Unity (Filename: /Users/gb/Desktop/WORKS&STUFF/CSOUND/GIT/CsoundUnityPackage/CsoundUnityPackage_DevelopmentProject/Packages/CsoundUnity/Runtime/CsoundUnity.cs Line: 234)
2020/06/17 12:10:12.276 736 772 Info Unity
2020/06/17 12:10:12.313 736 772 Info Unity Updated path:;/Packages/com.csound.csoundunity/Runtime
2020/06/17 12:10:12.313 736 772 Info Unity UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
2020/06/17 12:10:12.313 736 772 Info Unity UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
2020/06/17 12:10:12.313 736 772 Info Unity UnityEngine.Logger:Log(LogType, Object)
2020/06/17 12:10:12.313 736 772 Info Unity UnityEngine.Debug:Log(Object)
2020/06/17 12:10:12.313 736 772 Info Unity UnityEngine.MonoBehaviour:print(Object)
2020/06/17 12:10:12.313 736 772 Info Unity CsoundUnity:Awake() (at /Users/gb/Desktop/WORKS&STUFF/CSOUND/GIT/CsoundUnityPackage/CsoundUnityPackage_DevelopmentProject/Packages/CsoundUnity/Runtime/CsoundUnity.cs:250)
2020/06/17 12:10:12.313 736 772 Info Unity
2020/06/17 12:10:12.313 736 772 Info Unity (Filename: /Users/gb/Desktop/WORKS&_STUFF/CSOUND/GIT/CsoundUnityPackage/CsoundUnityPackage_DevelopmentProject/Packages/CsoundUnity/Runtime/CsoundUnity.cs Line: 250)
2020/06/17 12:10:12.313 736 772 Info Unity
2020/06/17 12:10:12.380 736 772 Info Unity CsoundUnityBridge constructor from dir: /Packages/com.csound.csoundunity/Runtime/Android csdFile:
2020/06/17 12:10:12.380 736 772 Info Unity form caption (âTest Csoundâ), size(300, 200)
2020/06/17 12:10:12.380 736 772 Info Unity hslider bounds(0, 0, 300, 50) range(20, 16000, 440, 1, 0.001) valuetextbox(1) channel(âfreqSliderâ) value(440) velocity(50)
2020/06/17 12:10:12.380 736 772 Info Unity combobox bounds(0, 60, 85, 20), channel(âtestComboboxâ), text(âSineâ, âBohâ) identchannel(âoscilFunâ) value(1)
2020/06/17 12:10:12.380 736 772 Info Unity
2020/06/17 12:10:12.380 736 772 Info Unity
2020/06/17 12:10:12.380 736 772 Info Unity
2020/06/17 12:10:12.380 736 772 Info Unity
2020/06/17 12:10:12.380 736 772 Info Unity ;-n -d -m0d
2020/06/17 12:10:12.380 736 772 Info Unity ;-odac
2020/06/17 12:10:12.380 736 772 Info Unity -n ; -m0d
2020/06/17 12:10:12.380 736 772 Info Unity
2020/06/17 12:10:12.380 736 772 Info Unity
2020/06/17 12:10:12.380 736 772 Info Unity sr = 44100
2020/06/17 12:10:12.380 736 772 Info Unity ksmps = 32
2020/06/17 12:10:12.380 736 772 Info Unity nchnls = 2
2020/06/17 12:10:12.380 736 772 Info Unity 0dbfs = 1
2020/06/17 12:10:12.380 736 772 Info Unity ifun init 0
2020/06/17 12:10:12.380 736 772 Info Unity
2020/06/17 12:10:12.380 736 772 Info Unity instr 1
2020/06/17 12:10:12.380 736 772 Info Unity
2020/06/17 12:10:12.380 736 772 Info Unity ;ifun = chnget:i(âtestComboboxâ)
2020/06/17 12:10:12.380 736 772 Info Unity ;print ifun
2020/06/17 12:10:12.380 736 772 Info Unity a1 oscil .2, chnget:k(âfreqSliderâ), chnget:i(âtestComboboxâ)
2020/06/17 12:10:12.380 736 772 Info Unity outs a1, a1
2020/06/17 12:10:12.380 736 772 Info Unity
2020/06/17 12:10:12.380 736 772 Info Unity endin
2020/06/17 12:10:12.380 736 772 Info Unity
2020/06/17 12:10:12.380 736 772 Info Unity
2020/06/17 12:10:12.380 736 772 Info Unity
2020/06/17 12:10:12.380 736 772 Info Unity f0 3600
2020/06/17 12:10:12.380 736 772 Info Unity f1 0 4096 10 1
2020/06/17 12:10:12.380 736 772 Info Unity f2 0 4096 10 1 .3 .15 .07
2020/06/17 12:10:12.380 736 772 Info Unity i1 0 5
2020/06/17 12:10:12.380 736 772 Info Unity
2020/06/17 12:10:12.380 736 772 Info Unity UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
2020/06/17 12:10:12.380 736 772 Info Unity UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
2020/06/17 12:10:12.380 736 772 Info Unity UnityEngine.Logger:Log(LogType, Object)
2020/06/17 12:10:12.380 736 772 Info Unity UnityEngine.
2020/06/17 12:10:12.394 736 772 Info Unity System buffer size: 1024, buffer count: 4 , samplerate: 24000
2020/06/17 12:10:12.394 736 772 Info Unity UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
2020/06/17 12:10:12.394 736 772 Info Unity UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
2020/06/17 12:10:12.394 736 772 Info Unity UnityEngine.Logger:Log(LogType, Object)
2020/06/17 12:10:12.394 736 772 Info Unity UnityEngine.Debug:Log(Object)
2020/06/17 12:10:12.394 736 772 Info Unity CsoundUnityBridge:.ctor(String, String) (at /Users/gb/Desktop/WORKS_&STUFF/CSOUND/GIT/CsoundUnityPackage/CsoundUnityPackage_DevelopmentProject/Packages/CsoundUnity/Runtime/CsoundUnityBridge.cs:74)
2020/06/17 12:10:12.394 736 772 Info Unity CsoundUnity:Awake() (at /Users/gb/Desktop/WORKS&STUFF/CSOUND/GIT/CsoundUnityPackage/CsoundUnityPackage_DevelopmentProject/Packages/CsoundUnity/Runtime/CsoundUnity.cs:297)
2020/06/17 12:10:12.394 736 772 Info Unity
2020/06/17 12:10:12.394 736 772 Info Unity (Filename: /Users/gb/Desktop/WORKS&_STUFF/CSOUND/GIT/CsoundUnityPackage/CsoundUnityPackage_DevelopmentProject/Packages/CsoundUnity/Runtime/CsoundUnityBridge.cs Line: 74)
2020/06/17 12:10:12.394 736 772 Info Unity
2020/06/17 12:10:12.418 736 772 Info Unity csoundCompile: True
2020/06/17 12:10:12.418 736 772 Info Unity UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
2020/06/17 12:10:12.418 736 772 Info Unity UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
2020/06/17 12:10:12.418 736 772 Info Unity UnityEngine.Logger:Log(LogType, Object)
2020/06/17 12:10:12.418 736 772 Info Unity UnityEngine.Debug:Log(Object)
2020/06/17 12:10:12.418 736 772 Info Unity CsoundUnityBridge:.ctor(String, String) (at /Users/gb/Desktop/WORKS_&STUFF/CSOUND/GIT/CsoundUnityPackage/CsoundUnityPackage_DevelopmentProject/Packages/CsoundUnity/Runtime/CsoundUnityBridge.cs:94)
2020/06/17 12:10:12.418 736 772 Info Unity CsoundUnity:Awake() (at /Users/gb/Desktop/WORKS&STUFF/CSOUND/GIT/CsoundUnityPackage/CsoundUnityPackage_DevelopmentProject/Packages/CsoundUnity/Runtime/CsoundUnity.cs:297)
2020/06/17 12:10:12.418 736 772 Info Unity
2020/06/17 12:10:12.418 736 772 Info Unity (Filename: /Users/gb/Desktop/WORKS&_STUFF/CSOUND/GIT/CsoundUnityPackage/CsoundUnityPackage_DevelopmentProject/Packages/CsoundUnity/Runtime/CsoundUnityBridge.cs Line: 94)
2020/06/17 12:10:12.418 736 772 Info Unity
2020/06/17 12:10:12.460 736 772 Info Unity zerdbfs 1
2020/06/17 12:10:12.460 736 772 Info Unity UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
2020/06/17 12:10:12.460 736 772 Info Unity UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
2020/06/17 12:10:12.460 736 772 Info Unity UnityEngine.Logger:Log(LogType, Object)
2020/06/17 12:10:12.460 736 772 Info Unity UnityEngine.Debug:Log(Object)
2020/06/17 12:10:12.460 736 772 Info Unity CsoundUnity:Awake() (at /Users/gb/Desktop/WORKS_&STUFF/CSOUND/GIT/CsoundUnityPackage/CsoundUnityPackage_DevelopmentProject/Packages/CsoundUnity/Runtime/CsoundUnity.cs:339)
2020/06/17 12:10:12.460 736 772 Info Unity
2020/06/17 12:10:12.460 736 772 Info Unity (Filename: /Users/gb/Desktop/WORKS&_STUFF/CSOUND/GIT/CsoundUnityPackage/CsoundUnityPackage_DevelopmentProject/Packages/CsoundUnity/Runtime/CsoundUnity.cs Line: 339)
2020/06/17 12:10:12.460 736 772 Info Unity
2020/06/17 12:10:12.467 736 772 Info Unity CsoundUnity done init
2020/06/17 12:10:12.467 736 772 Info Unity UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
2020/06/17 12:10:12.467 736 772 Info Unity UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
2020/06/17 12:10:12.467 736 772 Info Unity UnityEngine.Logger:Log(LogType, Object)
2020/06/17 12:10:12.467 736 772 Info Unity UnityEngine.Debug:Log(Object)
2020/06/17 12:10:12.467 736 772 Info Unity CsoundUnity:Awake() (at /Users/gb/Desktop/WORKS_&STUFF/CSOUND/GIT/CsoundUnityPackage/CsoundUnityPackage_DevelopmentProject/Packages/CsoundUnity/Runtime/CsoundUnity.cs:363)
2020/06/17 12:10:12.467 736 772 Info Unity
2020/06/17 12:10:12.467 736 772 Info Unity (Filename: /Users/gb/Desktop/WORKS&_STUFF/CSOUND/GIT/CsoundUnityPackage/CsoundUnityPackage_DevelopmentProject/Packages/CsoundUnity/Runtime/CsoundUnity.cs Line: 363)
2020/06/17 12:10:12.467 736 772 Info Unity
2020/06/17 12:10:12.498 2939 6309 Debug AudioService getStreamVolume 3 index 120
2020/06/17 12:10:12.498 736 772 Debug Unity Choreographer available: Enabling VSYNC timing
2020/06/17 12:10:12.499 736 736 Debug ViewRootImpl@78775c[UnityPlayerActivity] Relayout returned:
2020/06/17 12:10:12.662 736 1883 Error mono-rt Stacktrace:
2020/06/17 12:10:12.662 736 1883 Error mono-rt
2020/06/17 12:10:12.662 736 1883 Error mono-rt /proc/self/maps:
2020/06/17 12:10:12.662 736 1883 Error mono-rt 12c00000-12d09000 rw-p 00000000 00:01 1640 /dev/ashmem/dalvik-main space_2465_2465 (deleted)
â all system libraries errors here
=================================================================
2020/06/17 12:10:12.709 736 1883 Error mono-rt Got a SIGSEGV while executing native code. This usually indicates
2020/06/17 12:10:12.709 736 1883 Error mono-rt a fatal error in the mono runtime or one of the native libraries
2020/06/17 12:10:12.709 736 1883 Error mono-rt used by your application.
2020/06/17 12:10:12.709 736 1883 Error mono-rt =================================================================
2020/06/17 12:10:12.709 736 1883 Error mono-rt
2020/06/17 12:10:12.759 736 1883 Error CRASH *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2020/06/17 12:10:12.759 736 1883 Error CRASH Version â2019.3.9f1 (e6e740a1c473)â, Build type âDevelopmentâ, Scripting Backend âmonoâ, CPU âarmeabi-v7aâ
2020/06/17 12:10:12.759 736 1883 Error CRASH Build fingerprint: âsamsung/j7y17ltexx/j7y17lte:7.0/NRD90M/J730FXXU1AQI5:user/release-keysâ
2020/06/17 12:10:12.759 736 1883 Error CRASH Revision: â7â
2020/06/17 12:10:12.759 736 1883 Error CRASH ABI: âarmâ
2020/06/17 12:10:12.759 736 1883 Error CRASH Timestamp: 2020-06-17 12:10:12+0200
2020/06/17 12:10:12.759 736 1883 Error CRASH pid: 736, tid: 1883, name: Audio Mixer Thr >>> com.Csound.CsoundUnityPackage_DevelopmentProject <<<
2020/06/17 12:10:12.759 736 1883 Error CRASH uid: 10232
2020/06/17 12:10:12.759 736 1883 Error CRASH signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
2020/06/17 12:10:12.759 736 1883 Error CRASH Cause: null pointer dereference
2020/06/17 12:10:12.759 736 1883 Error CRASH r0 00000000 r1 00000000 r2 00001e2c r3 00000002
2020/06/17 12:10:12.759 736 1883 Error CRASH r4 00000000 r5 cc47cf70 r6 00000000 r7 00000000
2020/06/17 12:10:12.759 736 1883 Error CRASH r8 00000000 r9 cda473a0 r10 cd7f8128 r11 c84fe478
2020/06/17 12:10:12.759 736 1883 Error CRASH ip c91bf958 sp c84fe348 lr c91bf9a8 pc c41cfc62
2020/06/17 12:10:12.759 736 1883 Error CRASH
2020/06/17 12:10:12.759 736 1883 Error CRASH backtrace:
2020/06/17 12:10:12.759 736 1883 Error CRASH #00 pc 001e1c62 /data/app/com.Csound.CsoundUnityPackage_DevelopmentProject-2/lib/arm/libcsoundandroid.so (csoundGetSpoutSample+14) (BuildId: 4ac9c4b5b20721787e26307bcc0b5ab8887e9461)
2020/06/17 12:10:12.759 736 1883 Error CRASH #01 pc 0000b9a6 anonymous:c91b4000
2020/06/17 12:10:12.759 736 1883 Error CRASH
2020/06/17 12:10:12.759 736 1883 Error CRASH managed backtrace:
2020/06/17 12:10:12.759 736 1883 Error CRASH #00 (wrapper managed-to-native) csoundcsharp.Csound6/NativeMethods:csoundGetSpoutSample (intptr,int,int)
2020/06/17 12:10:12.759 736 1883 Error CRASH #01 CsoundUnityBridge:GetSpoutSample (int,int) </Users/gb/Desktop/WORKS_&STUFF/CSOUND/GIT/CsoundUnityPackage/CsoundUnityPackage_DevelopmentProject/Packages/CsoundUnity/Runtime/CsoundUnityBridge.cs:463>
2020/06/17 12:10:12.759 736 1883 Error CRASH #02 CsoundUnity:GetOutputSample (int,int) </Users/gb/Desktop/WORKS&STUFF/CSOUND/GIT/CsoundUnityPackage/CsoundUnityPackage_DevelopmentProject/Packages/CsoundUnity/Runtime/CsoundUnity.cs:684>
2020/06/17 12:10:12.759 736 1883 Error CRASH #03 CsoundUnity:ProcessBlock (single[],int) </Users/gb/Desktop/WORKS&STUFF/CSOUND/GIT/CsoundUnityPackage/CsoundUnityPackage_DevelopmentProject/Packages/CsoundUnity/Runtime/CsoundUnity.cs:1398>
2020/06/17 12:10:12.760 736 1883 Error CRASH #04 CsoundUnity:OnAudioFilterRead (single[],int) </Users/gb/Desktop/WORKS&_STUFF/CSOUND/GIT/CsoundUnityPackage/CsoundUnityPackage_DevelopmentProject/Packages/CsoundUnity/Runtime/CsoundUnity.cs:1357>
2020/06/17 12:10:12.760 736 1883 Error CRASH #05 (wrapper runtime-invoke) :runtime_invoke_void__this___object_int (object,intptr,intptr,intptr)
2020/06/17 12:10:13.053 736 772 Error CRASH other thread is trapped; signum = 11
2020/06/17 12:10:13.056 736 772 Error AndroidRuntime FATAL EXCEPTION: UnityMain
2020/06/17 12:10:13.056 736 772 Error AndroidRuntime Process: com.Csound.CsoundUnityPackage_DevelopmentProject, PID: 736
2020/06/17 12:10:13.056 736 772 Error AndroidRuntime java.lang.Error: FATAL EXCEPTION [UnityMain]
2020/06/17 12:10:13.056 736 772 Error AndroidRuntime Unity version : 2019.3.9f1
2020/06/17 12:10:13.056 736 772 Error AndroidRuntime Device model : samsung SM-J730F
2020/06/17 12:10:13.056 736 772 Error AndroidRuntime Device fingerprint: samsung/j7y17ltexx/j7y17lte:7.0/NRD90M/J730FXXU1AQI5:user/release-keys
2020/06/17 12:10:13.056 736 772 Error AndroidRuntime
2020/06/17 12:10:13.056 736 772 Error AndroidRuntime Caused by: java.lang.Error: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2020/06/17 12:10:13.056 736 772 Error AndroidRuntime Version â2019.3.9f1 (e6e740a1c473)â, Build type âDevelopmentâ, Scripting Backend âmonoâ, CPU âarmeabi-v7aâ
2020/06/17 12:10:13.056 736 772 Error AndroidRuntime Build fingerprint: âsamsung/j7y17ltexx/j7y17lte:7.0/NRD90M/J730FXXU1AQI5:user/release-keysâ
2020/06/17 12:10:13.056 736 772 Error AndroidRuntime Revision: â7â
2020/06/17 12:10:13.056 736 772 Error AndroidRuntime ABI: âarmâ
2020/06/17 12:10:13.056 736 772 Error AndroidRuntime Timestamp: 2020-06-17 12:10:12+0200
2020/06/17 12:10:13.056 736 772 Error AndroidRuntime pid: 736, tid: 1883, name: Audio Mixer Thr >>> com.Csound.CsoundUnityPackage_DevelopmentProject <<<
2020/06/17 12:10:13.056 736 772 Error AndroidRuntime uid: 10232
2020/06/17 12:10:13.056 736 772 Error AndroidRuntime signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
2020/06/17 12:10:13.056 736 772 Error AndroidRuntime Cause: null pointer dereference
2020/06/17 12:10:13.056 736 772 Error AndroidRuntime r0 00000000 r1 00000000 r2 00001e2c r3 00000002
2020/06/17 12:10:13.056 736 772 Error AndroidRuntime r4 00000000 r5 cc47cf70 r6 00000000 r7 00000000
2020/06/17 12:10:13.056 736 772 Error AndroidRuntime r8 00000000 r9 cda473a0 r10 cd7f8128 r11 c84fe478
2020/06/17 12:10:13.056 736 772 Error AndroidRuntime ip c91bf958 sp c84fe348 lr c91bf9a8 pc c41cfc62
2020/06/17 12:10:13.056 736 772 Error AndroidRuntime
2020/06/17 12:10:13.056 736 772 Error AndroidRuntime backtrace:
2020/06/17 12:10:13.056 736 772 Error AndroidRuntime #00 pc 001e1c62 /data/app/com.Csound.CsoundUnityPackage_DevelopmentProject-2/lib/arm/libcsoundandroid.so (csoundGetSpoutSample+14) (BuildId: 4ac9c4b5b20721787e26307bcc0b5ab8887e9461)
2020/06/17 12:10:13.056 736 772 Error AndroidRuntime #01 pc 0000b9a6 anonymous:c91b4000
2020/06/17 12:10:13.056 736 772 Error AndroidRuntime
2020/06/17 12:10:13.056 736 772 Error AndroidRuntime managed backtrace:
2020/06/17 12:10:13.056 736 772 Error AndroidRuntime #00 (wrapper managed-to-native) csoundcsharp.Csound6/NativeMethods:csoundGetSpoutSample (intptr,int,int)
2020/06/17 12:10:13.056 736 772 Error AndroidRuntime #01 CsoundUnityBridge:GetSpoutSample (int,int) </Users/gb/Desktop/WORKS_&STUFF/CSOUND/GIT/CsoundUnityPackage/CsoundUnityPackage_DevelopmentProject/Packages/CsoundUnity/Runtime/CsoundUnityBridge.cs:463>
2020/06/17 12:10:13.056 736 772 Error AndroidRuntime #02 CsoundUnity:GetOutputSample (int,int) </Users/gb/Desktop/WORKS&STUFF/CSOUND/GIT/CsoundUnityPackage/CsoundUnityPackage_DevelopmentProject/Packages/CsoundUnity/Runtime/CsoundUnity.cs:684>
2020/06/17 12:10:13.056 736 772 Error AndroidRuntime #03 CsoundUnity:ProcessBlock (single[],int) </Users/gb/Desktop/WORKS&STUFF/CSOUND/GIT/CsoundUnityPackage/CsoundUnityPackage_DevelopmentProject/Packages/CsoundUnity/Runtime/CsoundUnity.cs:1398>
2020/06/17 12:10:13.056 736 772 Error AndroidRuntime #04 CsoundUnity:OnAudioFilterRead (single[],int) </Users/gb/Desktop/WORKS&STUFF/CSOUND/GIT/CsoundUnityPackage/CsoundUnityPackage_DevelopmentProject/Packages/CsoundUnity/Runtime/CsoundUnity.cs:1357>
2020/06/17 12:10:13.056 736 772 Error AndroidRuntime #05 (wrapper runtime-invoke) :runtime_invoke_void__this___object_int (object,intptr,intptr,intptr)
2020/06/17 12:10:13.056 736 772 Error AndroidRuntime
2020/06/17 12:10:13.056 736 772 Error AndroidRuntime at libcsoundandroid.csoundGetSpoutSample(csoundGetSpoutSample:14)
2020/06/17 12:10:13.056 736 772 Error AndroidRuntime at csoundcsharp.Csound6.NativeMethods.csoundGetSpoutSample (intptr,int,int)(Native Method)
2020/06/17 12:10:13.056 736 772 Error AndroidRuntime at CsoundUnityBridge.GetSpoutSample (int,int)(/Users/gb/Desktop/WORKS&STUFF/CSOUND/GIT/CsoundUnityPackage/CsoundUnityPackage_DevelopmentProject/Packages/CsoundUnity/Runtime/CsoundUnityBridge.cs:463)
2020/06/17 12:10:13.056 736 772 Error AndroidRuntime at CsoundUnity.GetOutputSample (int,int)(/Users/gb/Desktop/WORKS&STUFF/CSOUND/GIT/CsoundUnityPackage/CsoundUnityPackage_DevelopmentProject/Packages/CsoundUnity/Runtime/CsoundUnity.cs:684)
2020/06/17 12:10:13.056 736 772 Error AndroidRuntime at CsoundUnity.ProcessBlock (single[],int)(/Users/gb/Desktop/WORKS&STUFF/CSOUND/GIT/CsoundUnityPackage/CsoundUnityPackage_DevelopmentProject/Packages/CsoundUnity/Runtime/CsoundUnity.cs:1398)
2020/06/17 12:10:13.056 736 772 Error AndroidRuntime at CsoundUnity.OnAudioFilterRead (single[],int)(/Users/gb/Desktop/WORKS&_STUFF/CSOUND/GIT/CsoundUnityPackage/CsoundUnityPackage_DevelopmentProject/Packages/CsoundUnity/Runtime/CsoundUnity.cs:1357)
2020/06/17 12:10:13.056 736 772 Error AndroidRuntime at .runtime_invoke_void__this___object_int (object,intptr,intptr,intptr)(Native Method)
So with libnative.so it builds, but still crashes? Without libnative it doesnât build at all?
Exactly!