Hello everyone,
I'm impatient to start working with AC.
But right now, I'm directly confronted with some issues after installation.
Here is a screenshot:
It seems related to the "public VideoClip newClip;" in ActionMovie.cs
And "backgroundVideo" in BackgroundImage.cs
Also "RetrieveAssetFiles " appears red as well in AssetLoader.cs
Something related to this VideoClip.
I have no idea how to start resolving this, so this message is a simple call to ask: Is it normal ?
Unity Version 2019.3.3f1
Also, the texture of the Basement in the Demo needs to be changed with the new Universal Render pipeline.
It appears Flashy Pink with the Standard Texture.
s.
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Actually,
The new Navigation bar doesn't appears as well.
So I guess it could be a conflict with an other asset ?
Welcome to the community, @WizardSae.
I apologise for the troubles - no, this is not normal.
If Unity has red compilation issues, then third-party toolbar items won't be loaded in - the error messages themselves are why the Adventure Creator toolbar isn't showing.
My guess is that this is likely a conflict with another asset, whereby another asset has a class named "VideoClip", and the compiler is confused as to which one the code is referring to.
This can typically happen if a script does not use its own namespace. Do you have any other assets in your project that may be causing this? As a test, try importing AC into a fresh project and see if the issue persists.
Yes, for the moment the demo games rely on Unity's default render pipeline - though you can automate the material conversion from Unity's Edit menu.
Indeed,
There is probably an incompatibility with the fancy asset AVPro.
I use it as an alternative to the native video player from Unity.
Is it a way to fix this ?
And do you think it could be possible to make interaction with AC and this AVPro VideoPlayer ? Play and stop videos, or watch when a video is ending for exemple ?
Does AVPro have a class or object named VideoClip? And if so, is it in its own namespace?
If unsure, I'd recommend you contact AVPro's developers about this - explaining the situation. They should be able to advise further - though you're welcome to invite them here if we need to discuss together.
If you're fresh to AC, I'd recommend getting started with it on its own while you go through one or some of the tutorial videos.
As for integation: AC has its own Engine: Play movie clip Action which works with Unity's built-in VideoPlayer component. It's possible to write custom Actions, but as I don't have AVPro myself, I don't know what their API is.
However, AC's built-in Object: Send message and Object: Call event Actions are able to execute functions within other scripts and components just by referencing their names. For example, if a component has a function named "PlayMovie", you can run that function using one of these events.
Thanks for your support!
I don't know how they use the "VideoClip" name, but for sure they use it !
I can contact them and see...
Ok,
So they replied to me, and apparently they don't use VideoClip in their asset...
It seems strange to me, I don't have any other special assets...
What can I do then ?
Do you have an idea ?
Strange indeed. The error is consistent with a "VideoClip" class being somewhere in your project, wherever it may be.
Might it be from a package installed via Unity's Package manager?
If you feel it appropriate, you're welcome to zip up the project folder and PM it to me. I can only guess otherwise.