Skip to content

Commit d3da8a4

Browse files
committed
Update README
1 parent ada292d commit d3da8a4

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

Assets/CustomTextureRenderer/README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,21 @@
33
A graphics utility to update textures from native plugins.
44
The function for updating textures runs on Unity's Render Thread or another thread.
55

6+
IL2CPP is currently not supported.
7+
```
8+
NotSupportedException: IL2CPP does not support marshaling delegates that point to instance methods to native code.
9+
The method we're attempting to marshal is: UnityCustomTextureRenderer.CustomTextureRenderer::TextureUpdateCallback
10+
UnityCustomTextureRenderer.CustomTextureRenderer.Update () (at <00000000000000000000000000000000>:0)
11+
UnityCustomTextureRenderer.Samples.Test.Update () (at <00000000000000000000000000000000>:0)
12+
```
13+
```
14+
NotSupportedException:
15+
IL2CPP does not support marshaling delegates that point to instance methods to native code.
16+
The method we're attempting to marshal is: UnityCustomTextureRenderer.NonBlockingCustomTextureRenderer::TextureUpdateCallback
17+
UnityCustomTextureRenderer.NonBlockingCustomTextureRenderer.Update () (at <00000000000000000000000000000000>:0)
18+
UnityCustomTextureRenderer.Samples.Test.Update () (at <00000000000000000000000000000000>:0)
19+
```
20+
621
## Tested Environment
722
- Unity 2020.3.27f1
823
- Windows 10

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,21 @@
33
A graphics utility to update textures from native plugins.
44
The function for updating textures runs on Unity's Render Thread or another thread.
55

6+
IL2CPP is currently not supported.
7+
```
8+
NotSupportedException: IL2CPP does not support marshaling delegates that point to instance methods to native code.
9+
The method we're attempting to marshal is: UnityCustomTextureRenderer.CustomTextureRenderer::TextureUpdateCallback
10+
UnityCustomTextureRenderer.CustomTextureRenderer.Update () (at <00000000000000000000000000000000>:0)
11+
UnityCustomTextureRenderer.Samples.Test.Update () (at <00000000000000000000000000000000>:0)
12+
```
13+
```
14+
NotSupportedException:
15+
IL2CPP does not support marshaling delegates that point to instance methods to native code.
16+
The method we're attempting to marshal is: UnityCustomTextureRenderer.NonBlockingCustomTextureRenderer::TextureUpdateCallback
17+
UnityCustomTextureRenderer.NonBlockingCustomTextureRenderer.Update () (at <00000000000000000000000000000000>:0)
18+
UnityCustomTextureRenderer.Samples.Test.Update () (at <00000000000000000000000000000000>:0)
19+
```
20+
621
## Tested Environment
722
- Unity 2020.3.27f1
823
- Windows 10

0 commit comments

Comments
 (0)