Bug error CS0738

The engine is not working as expected? Documentation is wrong or out of date? Let us know here!
Forum rules
We are not providing support via this forum; it's community-driven. For official support see https://naninovel.com/support/#naninovel-support
Post Reply
barkatz8
Posts: 3
Joined: 30 May 2023 11:39

Bug error CS0738

Post 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.

idaot
support
Posts: 262
Joined: 01 Aug 2020 08:25

Re: Bug error CS0738

Post by idaot »

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

barkatz8
Posts: 3
Joined: 30 May 2023 11:39

Re: Bug error CS0738

Post 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?

idaot
support
Posts: 262
Joined: 01 Aug 2020 08:25

Re: Bug error CS0738

Post by idaot »

Input System.

barkatz8
Posts: 3
Joined: 30 May 2023 11:39

Re: Bug error CS0738

Post by barkatz8 »

Hi!

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

idaot
support
Posts: 262
Joined: 01 Aug 2020 08:25

Re: Bug error CS0738

Post 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

Post Reply