NTP Client - Network Time Protocol View on Asset Store (opens in new tab)

Package details

Latest version
1.0
Last updated
First released
Unity version
2022.3.24 or later
Package size
288 KB
Files
5
Favorites
6
Views in the past week
3

Price tracking

Last checked
Tracked since
Lowest recorded
Free on

Keywords

NTP Client - Network Time Protocol

by Koray USTUNDAG (opens in new tab)

2 ratings, too few to average

Synchronize your Unity project's time with NTP servers easily. Accurate, customizable, and easy-to-integrate NTP client for precise timekeeping in all your Unity applications.

Price Free

Get it free on Asset Store (opens in new tab)

Affiliate link · Purchases support this site

Price history

Last 6 months

USD
Price history for NTP Client - Network Time Protocol, 6 months Current Free; lowest Free; highest Free in this period. $0 Jun Jul Aug Sep Oct Nov

About this asset

The NTP Client for Unity is a lightweight and easy-to-use component that enables your Unity projects to synchronize time with Network Time Protocol (NTP) servers. This asset fetches the accurate current time from an NTP server, making it ideal for applications that require precise timekeeping and synchronization.

Features

  • Easy Integration: Quickly add NTP time synchronization to your Unity project with minimal setup.
  • Customizable Server: Use the default NTP server (pool.ntp.org) or specify your own preferred NTP server.
  • Accurate Time Retrieval: Retrieves the current time from the NTP server with high precision.
  • Error Handling: Robust exception handling ensures that any issues with time retrieval are properly managed and logged.
  • Resource Management: Implements IDisposable to ensure that network resources are released correctly.

Documentation

Comprehensive documentation is included to help you get started quickly and effectively. The documentation covers all aspects of the NTP Client, including usage examples and detailed method descriptions.

Open Source

You are free to modify the source code however you wish.

From the publisher's Asset Store listing.

Technical details

Supported Unity Versions:

  • 2019.X or higher

Supported Build Platforms:

  • All Platforms

Dependencies:

  • None

Documentation:

  • Included in the package

Source Code:

  • Fully accessible C# source code

Key Features:

  • Connects to NTP servers to retrieve accurate network time.
  • Default NTP server: pool.ntp.org.
  • Option to specify a custom NTP server.
  • Implements IDisposable for proper resource management.
  • Handles connection, data transmission, and time calculation.
  • Robust error handling with detailed logging.

Compatibility

Render pipelines supported in each Unity version
Unity version Built-in URP HDRP Custom
2022.3.24f1 Compatible Compatible Compatible Compatible

As listed on the Asset Store.