Bug error CS0738

Posted: 30 May 2023 11:42
by barkatz8

Hi all,

I'm new here.
I just tried to import the package at the unity and got those 2 messages:
Assets\Naninovel\Runtime\Input\InputSampler.cs(12,33): error CS0738: 'InputSampler' does not implement interface member 'IInputSampler.GetInputStartCancellationToken()'. 'InputSampler.GetInputStartCancellationToken()' cannot implement 'IInputSampler.GetInputStartCancellationToken()' because it does not have the matching return type of 'CancellationToken'.

Assets\Naninovel\Runtime\Input\InputSampler.cs(12,33): error CS0738: 'InputSampler' does not implement interface member 'IInputSampler.GetInputEndCancellationToken()'. 'InputSampler.GetInputEndCancellationToken()' cannot implement 'IInputSampler.GetInputEndCancellationToken()' because it does not have the matching return type of 'CancellationToken'.

does someone knows what should I do?
Thanks.


Re: Bug error CS0738

Posted: 30 May 2023 14:08
by idaot

You are not using a compatible version of Input System. We recommend downloading 1.5 from the Package Manager.


Re: Bug error CS0738

Posted: 30 May 2023 17:59
by barkatz8
idaot wrote: 30 May 2023 14:08

You are not using a compatible version of Input System. We recommend downloading 1.5 from the Package Manager.

version 1.5 of NaniNovel? or any inputsystem?


Re: Bug error CS0738

Posted: 31 May 2023 04:50
by idaot

Input System.


Re: Bug error CS0738

Posted: 07 Jun 2023 08:32
by barkatz8

Hi!

I downloaded the 1.5.1 from the package manager and seems like the errors are still there.
any idea?


Re: Bug error CS0738

Posted: 07 Jun 2023 10:50
by idaot

Make sure you are using the latest version of Naninovel (1.18) and make sure you've properly configured Input System as explained here: https://naninovel.com/guide/input-proce ... put-system