Streaming Image Sequence Player MeshDownloaderEditor.cs(6,32): error CS0234: The type or namespace name ‘TerrainAPI’ does not exist in the namespace ‘UnityEditor.Experimental’

4 posts · 354 views
MarkChen Mark Chen #1

When I use Streaming Image Sequence Player,The following error occurred:
1、Script updater for Library\Bee\artifacts\1900b0aE.dag\Depthkit.Studio.MeshSequence.Editor.dll failed to produce updates.txt file

2、depthkit.studio.meshsequence\Editor\MeshDownloaderEditor.cs(6,32): error CS0234: The type or namespace name ‘TerrainAPI’ does not exist in the namespace ‘UnityEditor.Experimental’ (are you missing an assembly reference?)

Tim Timothy Scaffidi admin mod Staff #2

Hi Mark,

Can you provide some more context for the first error? When does this error occur? What Unity version are you using? I’ve never seen this error before, but I found a thread here that has a similar error and may be useful.

For the second error, I’m guessing you may be using a Unity 2021 version, which may have removed the TerrainAPI. It should be safe to get rid of the the using UnityEditor.Experimental.TerrainAPI line.

Please note that our Unity packages are tested against the latest LTS at the time of release, which for the phase 8 release was 2020.3. There may be incompatibilities with newer versions that we do not yet support.

MarkChen Mark Chen #3

Unity version is unity 2021.3.5f1c1

Tim Timothy Scaffidi admin mod Staff #4

As I mentioned previously, our plugin was not tested against Unity version 2021, so if it is possible for you to use version 2020.3, that is the supported version currently. I believe both of the errors you’re encountering will be cleared up by using Unity version 2020.3