-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
clearCoatMap : reason: sampler named "clearCoatMap" not found #6109
Comments
@bejado this bug is probably my fault but I don't have an iOS device. I wonder what's going on. Do you recommend using the iOS simulator to repro? @ccworld1000 does this happen if you import any model, or does it only happen with models that have clearcoat? |
Let me try to reproduce on the simulator |
I'm unable to reproduce; I can successfully load a glb file with clear coat in the iOS simulator. I can try on device, but I doubt that would change anything. |
My only idea is that you might be trying to apply clear coat to a model that has some other special feature (e.g., sheen). I don't think we support this. @ccworld1000 are you able to share your model with us? |
The model is also very simple, which is a cube. rename "CCCubeTest123.glb.txt" -> "CCCubeTest123.glb" |
CC # file * It doesn't seem to matter if you don't rename |
I'll try on device tomorrow. |
The simulation should also run |
@ccworld1000 Will you try #6122? |
Looks like the issue is due to |
See issue #6121 instead |
I use the binary library on tag instead of compiling it myself.
|
@ccworld1000 I have tested CCCubeTest123.glb and it's fixed by #6122. |
I just used the binary library of the new tag 1.27.2 for testing |
call stack text file |
|
in SamplerInterfaceBlock |
The top screenshot is still valid |
The fix is not that in release. You'll have to wait a week or two. |
Describe the bug
clearCoatMap : reason: sampler named "clearCoatMap" not found
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
crash : reason: sampler named "clearCoatMap" not found
Screenshots
![Screen Shot 2022-09-28 at 11 19 49](https://user-images.githubusercontent.com/22360168/192681247-d94f1f51-af50-4763-8c13-e20429bfc0fe.png)
If applicable, add screenshots to help explain your problem.
Logs
If applicable, copy logs from your console here. Please do not
use screenshots of logs, copy them as text.
2022-09-28 11:18:30.982812+0800 hello-gltf[4591:105410] Metal GPU Frame Capture Enabled
2022-09-28 11:18:30.983199+0800 hello-gltf[4591:105410] Metal API Validation Enabled
FEngine (64 bits) created at 0x7fe5b180c400 (threading is enabled)
FEngine resolved backend: Metal
Selected physical device 'Apple iOS simulator GPU'
FEngine feature level: 1
Panic
in getSamplerInfo:97
reason: sampler named "clearCoatMap" not found
CoreSimulator 842.8 - Device: iPhone 13 (D1A3AAD9-E8DE-4E05-9889-8D12FB891708) - Runtime: iOS 16.0 (20A5303f) - DeviceType: iPhone 13
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
I found that this problem is very similar, but the original library file seems to be missing. I don't know how to deal with it in the new version
#4143
The text was updated successfully, but these errors were encountered: