unity issueshttps://gitlab.kitware.com/physiology/unity/-/issues2021-12-07T09:44:40-05:00https://gitlab.kitware.com/physiology/unity/-/issues/22Apple Silicon DLL not found2021-12-07T09:44:40-05:00LSD MadMacApple Silicon DLL not foundwhen using Apple Silicon and Unity 2021.x.x Silicon Editor
make a new Project and import Pulse ...
after open Demo Project and hit PLAY you get this error:
DllNotFoundException: PulseC assembly:<unknown assembly> type:<unknown type> mem...when using Apple Silicon and Unity 2021.x.x Silicon Editor
make a new Project and import Pulse ...
after open Demo Project and hit PLAY you get this error:
DllNotFoundException: PulseC assembly:<unknown assembly> type:<unknown type> member:(null)
Pulse.PulseEngine..ctor (System.String data_dir) (at <f5eb95304595478cb59c2d5e22924534>:0)
PulseEngineDriver.Start () (at Assets/PulsePhysiologyEngine/Scripts/PulseEngineDriver.cs:101)https://gitlab.kitware.com/physiology/unity/-/issues/18error CS0246: The type or namespace name `PulseEngine' could not be found. Ar...2019-06-18T07:40:36-04:00Pierre-Francois Gerarderror CS0246: The type or namespace name `PulseEngine' could not be found. Are you missing an assembly reference?Imported this fantastic tool into Unity and got this message. Any idea?Imported this fantastic tool into Unity and got this message. Any idea?https://gitlab.kitware.com/physiology/unity/-/issues/19Create example for audio2019-06-17T17:02:15-04:00Alexis GiraultCreate example for audioAs mentioned in [Discourse](https://discourse.kitware.com/t/unity3d-support/159/6?u=alexis.girault), we could add an example that inherits from the `PulseDataConsumer` that's able to play audio. With more time, we could even make it more...As mentioned in [Discourse](https://discourse.kitware.com/t/unity3d-support/159/6?u=alexis.girault), we could add an example that inherits from the `PulseDataConsumer` that's able to play audio. With more time, we could even make it more generic, by adding parameters such as threshold, audio file, etc...https://gitlab.kitware.com/physiology/unity/-/issues/16Enable on iOS2019-02-26T17:52:31-05:00Alexis GiraultEnable on iOS- [x] Load iOS modules in Unity: http://answers.unity.com/answers/1606217/view.html
- [x] Load native dll in C#: https://docs.unity3d.com/Manual/PluginsForIOS.html (use `__Internal` instead of `PulseC`)
- [ ] Build PulseC for arm64 (ios ...- [x] Load iOS modules in Unity: http://answers.unity.com/answers/1606217/view.html
- [x] Load native dll in C#: https://docs.unity3d.com/Manual/PluginsForIOS.html (use `__Internal` instead of `PulseC`)
- [ ] Build PulseC for arm64 (ios arch):
- **Option A**: cross-compile like in vtk: https://gitlab.kitware.com/vtk/vtk/blob/master/CMake/vtkiOS.cmake
- **Option B**: attempt to build with cmake 3.14/XCode: https://gitlab.kitware.com/cmake/cmake/merge_requests/2392
- issue with ExternalProjectAdd: https://gitlab.kitware.com/cmake/cmake/issues/18992
- issue with PThread: https://gitlab.kitware.com/cmake/cmake/issues/18993https://gitlab.kitware.com/physiology/unity/-/issues/8IL2CPP Support2019-02-25T14:10:52-05:00Aaron Brayaaron.bray@kitware.comIL2CPP SupportIf your Unity project uses the [IL2CPP compiler](https://docs.unity3d.com/Manual/IL2CPP.html), The compilation will fail due to the IL2CPP compiler stripping out code that it thinks is not needed but is infact needed.
To stop this strip...If your Unity project uses the [IL2CPP compiler](https://docs.unity3d.com/Manual/IL2CPP.html), The compilation will fail due to the IL2CPP compiler stripping out code that it thinks is not needed but is infact needed.
To stop this stripping of code we need a link.xml with the contents:
`<linker> <assembly fullname="DataModelBindings" preserve="all"/> </linker>`
This is should also be mentioned in our readme documentation
Relevant part of Unity documentation: https://docs.unity3d.com/Manual/IL2CPP-BytecodeStripping.htmlAaron Brayaaron.bray@kitware.comAaron Brayaaron.bray@kitware.comhttps://gitlab.kitware.com/physiology/unity/-/issues/2Refactor PulseActions out of PulseActionOnClick2019-02-21T14:04:25-05:00Alexis GiraultRefactor PulseActions out of PulseActionOnClickBack in PulseEngine?
https://gitlab.kitware.com/physiology/unity_assets/blob/master/Examples/PulseActionOnClick.csBack in PulseEngine?
https://gitlab.kitware.com/physiology/unity_assets/blob/master/Examples/PulseActionOnClick.csAaron Brayaaron.bray@kitware.comAaron Brayaaron.bray@kitware.comhttps://gitlab.kitware.com/physiology/unity/-/issues/11Access list of outputs from the PulseEngine or CDM instead of hardcoded2019-02-21T10:00:27-05:00Alexis GiraultAccess list of outputs from the PulseEngine or CDM instead of hardcodedReplace: https://gitlab.kitware.com/physiology/PulseUnityAsset/blob/master/Scripts/PulseEngineDriver.cs#L26-41
by something dynamic that is generated by the PulseEngine, based on: https://gitlab.kitware.com/physiology/engine/blob/2.x/eng...Replace: https://gitlab.kitware.com/physiology/PulseUnityAsset/blob/master/Scripts/PulseEngineDriver.cs#L26-41
by something dynamic that is generated by the PulseEngine, based on: https://gitlab.kitware.com/physiology/engine/blob/2.x/engine/c/PulseEngineC.cpp#L237https://gitlab.kitware.com/physiology/unity/-/issues/7Investigates simplifying PulseEngineController2019-02-15T12:34:08-05:00Alexis GiraultInvestigates simplifying PulseEngineControllerCurrently requires to also subclass `PulseEngineControllerEditor` in order to implement the abstract function `DrawProperties`Currently requires to also subclass `PulseEngineControllerEditor` in order to implement the abstract function `DrawProperties`https://gitlab.kitware.com/physiology/unity/-/issues/6Investigate namespaceing Pulse components2019-02-13T13:29:56-05:00Alexis GiraultInvestigate namespaceing Pulse components