Giter Club home page Giter Club logo

Comments (7)

judah4 avatar judah4 commented on June 14, 2024

I think there is an override to not use the compute shader. Have you been able to test it on an IOS device?

from hsv-color-picker-unity.

redline-games avatar redline-games commented on June 14, 2024

it works fine on iOS devices. I simply drag and dropped the prefab into my scene. Tested on xsmax and iphone 6 plus.

from hsv-color-picker-unity.

Segelzwerg avatar Segelzwerg commented on June 14, 2024

We use it on a iPad with 12.4 and iOS 13. On both devices the gradient field is white. The same app works fine on multiple Android devices. Any advice?
Thanks a lot!
Edit 1:
8C119CB3-A588-4A86-8770-B4E603643002

Edit 2:

I connected one of the iPads with Unity Remote to my Mac. I got the following error message:
NullReferenceException: Object reference not set to an instance of an object SVBoxSlider.InitializeCompute () (at Assets/HSVPicker/UI/SVBoxSlider.cs:64) SVBoxSlider.Awake () (at Assets/HSVPicker/UI/SVBoxSlider.cs:49)

from hsv-color-picker-unity.

Segelzwerg avatar Segelzwerg commented on June 14, 2024

Turns out, I forgot to copy the Resource Folder from your Project to our.

from hsv-color-picker-unity.

judah4 avatar judah4 commented on June 14, 2024

Glad it's resolved!

from hsv-color-picker-unity.

Segelzwerg avatar Segelzwerg commented on June 14, 2024

I celebrated too early. The test I ran was with Unity Remote. The actual build does not work:

2019-12-02 10:38:14.267949+0100 HourGlass[2581:110972] [DYMTLInitPlatform] platform initialization successful

2019-12-02 10:38:14.341499+0100 HourGlass[2581:110640] Built from '2019.2/release' branch, Version '2019.2.10f1 (923acd2d43aa)', Build type 'Release', Scripting Backend 'il2cpp'

2019-12-02 10:38:14.348803+0100 HourGlass[2581:110640] -> registered mono modules 0x1012708f0 -> applicationDidFinishLaunching()

2019-12-02 10:38:14.593814+0100 HourGlass[2581:110640] Metal GPU Frame Capture Enabled
-> applicationDidBecomeActive()

GfxDevice: creating device client; threaded=1

Initializing Metal device caps: Apple A7 GPU

Initialize engine version: 2019.2.10f1 (923acd2d43aa)

UnloadTime: 2.151125 ms

Metal: Compute shader (GenerateSVTexture.CSMain) has 1024 threads in a threadgroup which is more than the supported max of 512 in this device

Game started

I tried to lower the lower the thread size as mentioned here: https://stackoverflow.com/questions/45460277/unity-metal-compute-shader-has-1024-threads-in-a-thread-group-which-is-more-tha/45647059#45647059, but it didn't help.

from hsv-color-picker-unity.

Segelzwerg avatar Segelzwerg commented on June 14, 2024

We manage to get the build working on the devices by disabling the shader:

supportsComputeShaders = false;

inside the awake() SVBoxSlider

from hsv-color-picker-unity.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.